SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Order of backups and processing
Author Message
Post Order of backups and processing 
Hello,

I probably missed this in the documentation (though I did look for it). How does rsnapshot process backups for the hosts listed in the configuration file? In the order entered? Also, does it run one after another or does it try to run all backups simultaneously?

Thanks.

--Brennon

Post Order of backups and processing 
On 2012-06-11, Brennon Church <churchb < at > uw.edu> wrote:

I probably missed this in the documentation (though I did look for it). How
does rsnapshot process backups for the hosts listed in the configuration
file? In the order entered?

Yes; check man rsnapshot and look for "retain".

Also, does it run one after another or does it
try to run all backups simultaneously?

This can also be inferred from the section on "retain". Basically, it
takes the snapshot you specify on the command line. So, if you have an
hourly retain target defined, then 'rsnapshot hourly' performs the hourly
backup. (This makes defining crontab entries fairly straightforward.)

You can always use the -t switch to show you what would be run without
actually running it.

--keith


--
kkeller < at > wombat.san-francisco.ca.us



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post Order of backups and processing 
In the order of the conf file, and they run one after another.

[root < at > backup_server log]# tail -12 /etc/rsnapshot.conf
###############################
##machines to backup.
backup root < at > machine1:/ machine1/ exclude_file=/etc/rsnapshot_exclude_machine1
backup root < at > machine2:/ machine2/ exclude_file=/etc/rsnapshot_exclude_machine2
backup root < at > machine3:/ machine3/ exclude_file=/etc/rsnapshot_exclude_machine3
backup root < at > xxx.yyy.zzz.41:/ machine4/ exclude_file=/etc/rsnapshot_exclude_machine4
backup root < at > xxx.yyy.zzz.25:/ machine5/
backup root < at > aaa.bbb.ccc.66:/ machine6/ exclude_file=/etc/rsnapshot_exclude_machine6
backup root < at > aaa.bbb.ccc.68:/ machine7/ exclude_file=/etc/rsnapshot_exclude_machine7
backup root < at > aaa.bbb.ccc.75:/ machine8/ exclude_file=/etc/rsnapshot_exclude_machine8
backup root < at > aaa.bbb.ccc.97:/ machine9/ exclude_file=/etc/rsnapshot_exclude_machine9
backup root < at > aaa.bbb.ccc.103:/ machine10/ exclude_file=/etc/rsnapshot_exclude_machine10




[root < at > backup_server log]# tail -50 /var/log/rsnapshot |egrep rsync |egrep av
[10/Jun/2012:20:14:07] /usr/bin/rsync -av --delete
--exclude-from=/etc/rsnapshot_exclude_machine1 --rsh=/usr/bin/ssh
root < at > machine1.fq.dn.ex:/ /storage/snapshots/daily.0/machine1/
[10/Jun/2012:20:18:54] /usr/bin/rsync -av --delete
--exclude-from=/etc/rsnapshot_exclude_machine2 --rsh=/usr/bin/ssh
root < at > machine2.fq.dn.ex:/ /storage/snapshots/daily.0/machine2/
[10/Jun/2012:20:22:29] /usr/bin/rsync -av --delete
--exclude-from=/etc/rsnapshot_exclude_machine3 --rsh=/usr/bin/ssh
root < at > machine3.fq.dn.ex:/ /storage/snapshots/daily.0/machine3/
[10/Jun/2012:20:46:25] /usr/bin/rsync -av --delete
--exclude-from=/etc/rsnapshot_exclude_machine4 --rsh=/usr/bin/ssh
root < at > xxx.yyy.zzz.41:/ /storage/snapshots/daily.0/machine4/
[10/Jun/2012:20:57:39] /usr/bin/rsync -av --delete --exclude=sys
--exclude=proc --exclude=var --exclude=EXCLUDE_THIS --rsh=/usr/bin/ssh
root < at > xxx.yyy.zzz.25:/ /storage/snapshots/daily.0/machine5/
[10/Jun/2012:20:59:45] /usr/bin/rsync -av --delete
--exclude-from=/etc/rsnapshot_exclude_machine6 --rsh=/usr/bin/ssh
root < at > aaa.bbb.ccc.66:/ /storage/snapshots/daily.0/machine6/
[10/Jun/2012:21:07:43] /usr/bin/rsync -av --delete
--exclude-from=/etc/rsnapshot_exclude_machine7 --rsh=/usr/bin/ssh
root < at > aaa.bbb.ccc.68:/ /storage/snapshots/daily.0/machine7/
[10/Jun/2012:21:26:32] /usr/bin/rsync -av --delete
--exclude-from=/etc/rsnapshot_exclude_machine8 --rsh=/usr/bin/ssh
root < at > aaa.bbb.ccc.75:/ /storage/snapshots/daily.0/machine8/
[10/Jun/2012:21:28:09] /usr/bin/rsync -av --delete
--exclude-from=/etc/rsnapshot_exclude_machine9 --rsh=/usr/bin/ssh
root < at > aaa.bbb.ccc.97:/ /storage/snapshots/daily.0/machine9/
[10/Jun/2012:22:13:29] /usr/bin/rsync -av --delete
--exclude-from=/etc/rsnapshot_exclude_machine10 --rsh=/usr/bin/ssh
root < at > aaa.bbb.ccc.103:/ /storage/snapshots/daily.0/machine10/



On Mon, Jun 11, 2012 at 12:18 PM, Brennon Church <churchb < at > uw.edu> wrote:
Hello,



I probably missed this in the documentation (though I did look for it).  How
does rsnapshot process backups for the hosts listed in the configuration
file?  In the order entered?  Also, does it run one after another or does it
try to run all backups simultaneously?



Thanks.



--Brennon


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post Order of backups and processing 
On 2012-06-11, Keith Keller <kkeller < at > wombat.san-francisco.ca.us> wrote:
On 2012-06-11, Brennon Church <churchb < at > uw.edu> wrote:

I probably missed this in the documentation (though I did look for it). How
does rsnapshot process backups for the hosts listed in the configuration
file? In the order entered?

Yes; check man rsnapshot and look for "retain".

Oh, boy, talk about misreading! Many apologies for seeing "retain"
instead of "hosts.

--keith



--
kkeller < at > wombat.san-francisco.ca.us



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post Order of backups and processing 
On Mon, Jun 11, 2012 at 08:18:15PM +0000, Brennon Church wrote:

I probably missed this in the documentation (though I did look for it). How does rsnapshot process backups for the hosts listed in the configuration file? In the order entered? Also, does it run one after another or does it try to run all backups simultaneously?

I don't think the order is documented, but it *currently* does them in
the order they're defined in the config file, one at a time.

--
David Cantrell | even more awesome than a panda-fur coat

You know you're getting old when you fancy the
teenager's parent and ignore the teenager
-- Paul M in uknot

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB