You are here

command line backup will not run

9 posts / 0 new
Last post
stanky
Offline
Last seen: 15 years 8 months ago
Joined: 2008-10-28 09:13
command line backup will not run

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 Smile
------------------------------------------------

maybe im to stupid Smile

regards, robert

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 11 years 2 months ago
Developer
Joined: 2005-12-10 15:22
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
stanky
Offline
Last seen: 15 years 8 months ago
Joined: 2008-10-28 09:13
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

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 11 years 2 months ago
Developer
Joined: 2005-12-10 15:22
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

stanky
Offline
Last seen: 15 years 8 months ago
Joined: 2008-10-28 09:13
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.

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 11 years 2 months ago
Developer
Joined: 2005-12-10 15:22
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 Smile

stanky
Offline
Last seen: 15 years 8 months ago
Joined: 2008-10-28 09:13
contents

is simply:

c:\junk

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 11 years 2 months ago
Developer
Joined: 2005-12-10 15:22
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

stanky
Offline
Last seen: 15 years 8 months ago
Joined: 2008-10-28 09:13
Thanks

steve. i try it with your commandline.

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

Log in or register to post comments