I have another issue with this program.
I just added --archive-type=gz and it tells me "Unknown archive type 'gz'." 
- same with zip and bz2


/trac-hot-backup.py --archive-type=gz /var/lib/trac/testsystem 
/home/trac/Downloads/testbackup

Any ideas?

Thank you!


Am Montag, 21. August 2017 18:13:53 UTC+2 schrieb Erdloch:
>
> Hello everybody!
>
> I am currently running Trac. 1.2. and I tried to run the 
> TracHotBackupScript from trac-hacks.org on Ubuntu 16.04 using the 
> following command, but I get these errors:
>
> root@trac:/home/trac/Downloads# ./trac-hot-backup.py /var/lib/trac/test 
> /home/trac/Downloads/testbackup
>
> Beginning hot backup of '/var/lib/trac/test'.
> Backing up project to 
> '/home/trac/Downloads/testbackup/test-2017-08-21-1548'...
> Traceback (most recent call last):
>   File "./trac-hot-backup.py", line 161, in <module>
>     backup_subdir])
>   File "/usr/lib/python2.7/subprocess.py", line 523, in call
>     return Popen(*popenargs, **kwargs).wait()
>   File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
>     errread, errwrite)
>   File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
>     raise child_exception
> OSError: [Errno 2] No such file or directory
>
>
> Python 2.7.12 is installed, and the folders are also correct and they 
> exist and the testbackup-folder is writeable (chmod 777).
> The normal trac-admin hotcopy - command works without any errors, but I 
> would like to create a backup-cronjob, so this script would be really 
> useful for me.
>
> Can anyboy help me here?
>
> Thank you!
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to