Hi again,
I still seem to have some problems running backup from multipe servers at once.
At the moment my master.conf is this:
bank:
/data
/data/server2/backupu
/data/server2
/data/server1
/data/server1/backupu
exclude:
lost+found/
core
*~
.nfs*
Runall:
server2/backupu/root 22:00
server2/root 22:00
server1/backupu/root 22:00
server1/root 22:00
expire-default: +3 days
expire-rule:
# MIN HR DOM MON DOW STRFTIME_FMT
* * * * 1 +15 days
# * * 1-7 * 1 +1 year
# * * 1-7 1,4,7,10 1
* 10-20 * * * +4 days
# * * * * 2-7 +3 days
and here's my crontab -e
10 22 * * * dirvish-expire --vault server1/backupu/root
30 22 * * * dirvish-expire --vault server1/root
45 22 * * * dirvish-expire --vault server2/backupu/root
0 23 * * * dirvish-expire --vault server2/root
0 1 * * * dirvish --vault server2/backupu/root
0 1 * * * dirvish --vault server1/backupu/root
0 3 * * * dirvish --vault server2/root
0 4 * * * dirvish --vault server1/root
The default.conf should be correct.
Now, for some reason when I do the command manually(for example dirvish --vault
server1/backupu/root it starts running without any problems. For some reason
the command executed via cron does not start at all. I can see from the syslog
that the command has been started but it doesn't keep running. I kept an eye on
the dedicated backup servers top-command and the servers top-command which I
was backupping and neither of those showed any signgs of rsync. Also there were
no new directories created under /data/serverx/backupu/root/. When executed
manually, it starts running normally and the directories are created.
Any ideas? At the moment I'm running the default debian cronjob script which
comes with dirvish and it runs smoothly.
_________________________________________________________________
Lataa 30 ILMAISTA hymiötä Windows Live Messengeriisi!
http://www.livemessenger-emoticons.com/fi-fi_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish