Get the new PortableApps.com Platform 10.0: Gorgeous themes, a full portable app store and advanced functionality
Announcing the World's Best Flash Drive: The PortableApps.com Companion | Did you see a malware warning on Friday?

command line backup will not run

stanky - October 28, 2008 - 8:27am

hello,

first thanks for this great application.
i used it in several ways till now and i get it always to work. now i like to do a command line backup and it won't work.

here is the commandline:
Toucan Backup Z:\test\Backup\Week%week% "D:\test\Eigene Dateien\BackupScripts\BACKUP.TXT" Complete 7-Zip 7 ExcludeList pwd pwd

i tryed it with the last stable and the last beta version. the exclude resp. include list is generated correctly, but no backup happens.

here is the output:
----------------------------------------------
Willkommen zum Toucan Kommandozeilen-System.

starte...

Zeit: 14:08:54

Creating file list, this may take some time.
Zeit: 14:08:55

fertig Smiling
------------------------------------------------

maybe im to stupid Smiling

regards, robert


( categories: )

Hi,

I think the problem is with your syntax, you need to change it to something like this and it should work:

Toucan Backup "Z:\test\Backup\Week%week%.7z" "D:\test\Eigene Dateien\BackupScripts\BACKUP.TXT" Complete 7-Zip 7 ExcludeList pwd pwd

'...and do the other things, not because they are easy, but because they are hard...' JFK

maybe a problem in includelist

hi steve,

thanks for your replay. i simplified the commandline like this:

Toucan Backup test.zip Backup.txt Differential Zip 5 ""

i copied all files needed (Backup.txt) to the local directory. Include list is correct but backup does not start. so i checked the include list again. the folder c:\junk should be processed. the includefile looks like this:

Junk\tab\aes.js
Junk\tab\base64.js
Junk\tab\editor.js
Junk\tab\export.js
Junk\tab\framework.js
Junk\tab\import.js
Junk\tab\loadsave.js
Junk\tab\parser.js
Junk\tab\special.js
Junk\tab\stickwiki.js
Junk\tab\ui.js
Junk\tab\woas.htm

there is no drive information. i think this is why it's not working -> no file is found to backup.

dir Junk\tab\aes.js
Das System kann den angegebenen Pfad nicht finden (path not found)

but with at least a backslash in front of the path its working:
dir \Junk\tab\aes.js
Volume in Laufwerk C: hat keine Bezeichnung.
Volumeseriennummer: 7C08-C422

Verzeichnis von C:\Junk\tab

03.12.2007 08:01 8.069 aes.js
1 Datei(en) 8.069 Bytes
0 Verzeichnis(se), 57.857.265.664 Bytes frei

regards
robert

The

include file is supposed to look like that, when you run the same command from the gui does it work? Also you have to give fully qualified paths.

EDIT: Something is broken, I am looking into it now

EDIT 2: No there isnt, I cant type

'...and do the other things, not because they are easy, but because they are hard...' JFK

from

gui it's running fine. also from commandline if you use a jobname as parameter. now i wan't to create a batch job wich adds weeknumbers to the destination path. for this i can't use the jobname parameter. but ... see above.

Can

you post the contents of the backup.txt file? I ran some tests earlier and it works fine for me, so we should be able to sort this Smiling

'...and do the other things, not because they are easy, but because they are hard...' JFK

contents

is simply:

c:\junk

I have

no idea why it doesnt work, I ran this command:

Toucan Backup "I:\1\backup
.7z" "I:\1\list.txt" Complete 7-Zip 5 TestExcludes test test

And it worked fine

In the list.txt file I simply had:

I:\hashlib++_0.3.1

'...and do the other things, not because they are easy, but because they are hard...' JFK

Thanks

steve. i try it with your commandline.

Edit: seems to be a problem with my laptop. on my desktop it's working. strange.