Thierry Lavallee
2015-07-22 17:21:18 UTC
I admit we have a connection problem here. We are investigating for
months and can't find if it is the ISP or remote server.
This being said, I would like to ensure Rsnapshot has a viable
connection before making all its ninja moves. And having to Roll back
for over 8 hours.
We run our cron like this:
/usr/bin/rsnapshot -c
/root/scripts/backup/rsnapshot.media02_cpbackup.conf sync &&
/usr/bin/rsnapshot -c
/root/scripts/backup/rsnapshot.media02_cpbackup.conf daily
This is yesterday night log with comments
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[18/Jul/2015:03:00:03] /usr/bin/rsnapshot -c
/root/scripts/backup/rsnapshot.media02_cpbackup.conf sync: started
[18/Jul/2015:03:00:03] echo 27184 > /var/run/rsnapshot_media02new.pid
[18/Jul/2015:03:00:03] mkdir -m 0755 -p /media/backupmedia02b/home/.sync/
[18/Jul/2015:03:00:03] /usr/bin/rsync -ax --delete --numeric-ids
--delete-excluded --rsh="/usr/bin/ssh -i /root/.ssh/id_rsa"
--link-dest=/media/backupmedia02b/home/daily.0/
***@media02.remote-server.com:/backup/cpbackup/daily/
/media/backupmedia02b/home/.sync/
#The sync is final here or not?
#Be cause if it did, I don't understand why Rsnapshot is trying to
connect AGAIN to the remote server and sync again. See below.
[18/Jul/2015:03:49:51] /usr/bin/rsnapshot -c
/root/scripts/backup/rsnapshot.media02_cpbackup.conf sync: ERROR:
/usr/bin/rsync returned 255 while processing
***@media02.remote-server.com:/backup/cpbackup/daily/
[18/Jul/2015:03:49:51] Rolling back ""
[18/Jul/2015:03:49:51] /bin/rm -rf /media/backupmedia02b/home/.sync/
[18/Jul/2015:06:43:24] /bin/cp -al /media/backupmedia02b/home/daily.0
/media/backupmedia02b/home/.sync
#.... Still waiting for this to complete over all daily directories :/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks for your support
-- Thierry
------------------------------------------------------------------------------
months and can't find if it is the ISP or remote server.
This being said, I would like to ensure Rsnapshot has a viable
connection before making all its ninja moves. And having to Roll back
for over 8 hours.
We run our cron like this:
/usr/bin/rsnapshot -c
/root/scripts/backup/rsnapshot.media02_cpbackup.conf sync &&
/usr/bin/rsnapshot -c
/root/scripts/backup/rsnapshot.media02_cpbackup.conf daily
This is yesterday night log with comments
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[18/Jul/2015:03:00:03] /usr/bin/rsnapshot -c
/root/scripts/backup/rsnapshot.media02_cpbackup.conf sync: started
[18/Jul/2015:03:00:03] echo 27184 > /var/run/rsnapshot_media02new.pid
[18/Jul/2015:03:00:03] mkdir -m 0755 -p /media/backupmedia02b/home/.sync/
[18/Jul/2015:03:00:03] /usr/bin/rsync -ax --delete --numeric-ids
--delete-excluded --rsh="/usr/bin/ssh -i /root/.ssh/id_rsa"
--link-dest=/media/backupmedia02b/home/daily.0/
***@media02.remote-server.com:/backup/cpbackup/daily/
/media/backupmedia02b/home/.sync/
#The sync is final here or not?
#Be cause if it did, I don't understand why Rsnapshot is trying to
connect AGAIN to the remote server and sync again. See below.
[18/Jul/2015:03:49:51] /usr/bin/rsnapshot -c
/root/scripts/backup/rsnapshot.media02_cpbackup.conf sync: ERROR:
/usr/bin/rsync returned 255 while processing
***@media02.remote-server.com:/backup/cpbackup/daily/
[18/Jul/2015:03:49:51] Rolling back ""
[18/Jul/2015:03:49:51] /bin/rm -rf /media/backupmedia02b/home/.sync/
[18/Jul/2015:06:43:24] /bin/cp -al /media/backupmedia02b/home/daily.0
/media/backupmedia02b/home/.sync
#.... Still waiting for this to complete over all daily directories :/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks for your support
-- Thierry
------------------------------------------------------------------------------