Thierry Lavallee
2015-07-15 17:13:38 UTC
Hi,
I am getting these errors. Looks like the connection with the remote
server might have died.
***@fileserver:~# tail -f /var/log/rsnapshot/rsnapshot_Media02_cpbackup.log
[15/Jul/2015:08:04:02] /usr/bin/rsnapshot -c
/root/scripts/backup/rsnapshot.Media02_cpbackup.conf daily: started
[15/Jul/2015:08:04:02] echo 10645 > /var/run/rsnapshot_Media02new.pid
[15/Jul/2015:08:04:02] mv /media/backupMedia02b/home/daily.2/
/media/backupMedia02b/home/daily.3/
[15/Jul/2015:08:04:02] mv /media/backupMedia02b/home/daily.1/
/media/backupMedia02b/home/daily.2/
[15/Jul/2015:08:04:02] mv /media/backupMedia02b/home/daily.0/
/media/backupMedia02b/home/daily.1/
[15/Jul/2015:08:04:02] mkdir -m 0755 -p /media/backupMedia02b/home/daily.0/
[15/Jul/2015:08:04:02] /usr/bin/rsync -ax --delete --numeric-ids
--delete-excluded --rsh="/usr/bin/ssh -i /root/.ssh/id_rsa"
--link-dest=/media/backupMedia02b/home/daily.1/
***@Media02.domain.com:/backup/cpbackup/daily/
/media/backupMedia02b/home/daily.0/
*[15/Jul/2015:08:52:32] /usr/bin/rsnapshot -c
/root/scripts/backup/rsnapshot.Media02_cpbackup.conf daily: ERROR:
/usr/bin/rsync returned 255 while processing
***@Media02.domain.com:/backup/cpbackup/daily/*
[15/Jul/2015:08:52:32] Rolling back ""
[15/Jul/2015:08:52:32] /bin/rm -rf /media/backupMedia02b/home/daily.0/
Yet "*Rolling Back*" takes more than 8 hours to process. It is a 400 GB
repositary
From the log:
[15/Jul/2015:08:52:32] /bin/rm -rf /media/backupMedia02b/home/daily.0/
[15/Jul/2015:11:32:18] /bin/cp -al /media/backupMedia02b/home/daily.1
/media/backupMedia02b/home/daily.0
Looks like the SSH connection should be made BEFORE the whole process of
moving the repositary is done. This would avoid this whole loss of time.
Also, seems that the quick mv done when initiating the backup could also
be done in the roll back.
Anyway, is there any way to make things better on my end?
thanks
I am getting these errors. Looks like the connection with the remote
server might have died.
***@fileserver:~# tail -f /var/log/rsnapshot/rsnapshot_Media02_cpbackup.log
[15/Jul/2015:08:04:02] /usr/bin/rsnapshot -c
/root/scripts/backup/rsnapshot.Media02_cpbackup.conf daily: started
[15/Jul/2015:08:04:02] echo 10645 > /var/run/rsnapshot_Media02new.pid
[15/Jul/2015:08:04:02] mv /media/backupMedia02b/home/daily.2/
/media/backupMedia02b/home/daily.3/
[15/Jul/2015:08:04:02] mv /media/backupMedia02b/home/daily.1/
/media/backupMedia02b/home/daily.2/
[15/Jul/2015:08:04:02] mv /media/backupMedia02b/home/daily.0/
/media/backupMedia02b/home/daily.1/
[15/Jul/2015:08:04:02] mkdir -m 0755 -p /media/backupMedia02b/home/daily.0/
[15/Jul/2015:08:04:02] /usr/bin/rsync -ax --delete --numeric-ids
--delete-excluded --rsh="/usr/bin/ssh -i /root/.ssh/id_rsa"
--link-dest=/media/backupMedia02b/home/daily.1/
***@Media02.domain.com:/backup/cpbackup/daily/
/media/backupMedia02b/home/daily.0/
*[15/Jul/2015:08:52:32] /usr/bin/rsnapshot -c
/root/scripts/backup/rsnapshot.Media02_cpbackup.conf daily: ERROR:
/usr/bin/rsync returned 255 while processing
***@Media02.domain.com:/backup/cpbackup/daily/*
[15/Jul/2015:08:52:32] Rolling back ""
[15/Jul/2015:08:52:32] /bin/rm -rf /media/backupMedia02b/home/daily.0/
Yet "*Rolling Back*" takes more than 8 hours to process. It is a 400 GB
repositary
From the log:
[15/Jul/2015:08:52:32] /bin/rm -rf /media/backupMedia02b/home/daily.0/
[15/Jul/2015:11:32:18] /bin/cp -al /media/backupMedia02b/home/daily.1
/media/backupMedia02b/home/daily.0
Looks like the SSH connection should be made BEFORE the whole process of
moving the repositary is done. This would avoid this whole loss of time.
Also, seems that the quick mv done when initiating the backup could also
be done in the roll back.
Anyway, is there any way to make things better on my end?
thanks