[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: backup script and python



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrew Sackville-West wrote:
> On Fri, May 04, 2007 at 01:42:03PM -0300, Henrique G. Abreu wrote:
>> hi, I've made a very simple script to backup zope files, it work just
>> fine when I launch it from shell, then I inserted it in cron so it
>> runs automatically. But runned by cron, it only returns error. Bellow
>> my script, and the python script that it's calls.
> 
> it might help if you included the errors. 
> 
> also, just a quick look tells me you could probably do this easily
> with rdiff-backup. 
> 

I once encountered problem with crontab scripts that was later found
related to PATH environment variable.   HTH

BTW, I second that rdiff-backup is a good choice. I use it for my data
backup.

- --
Cheers,

Wei Chen
http://www.acplex.com/people/wchen/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGPB51CIqXQV6BF28RAnf8AJ9VsPGFAqQHUlDwfJ5ncsHtn0cYuACfTTUN
sFnmG/tdKtIWeSWTeLbfOXA=
=RIwr
-----END PGP SIGNATURE-----



Reply to: