Turritopsis Dohrnii Teo En Ming
2021-Aug-09 06:45 UTC
Which method (rsync-based) is better for backing up Linux servers to Synology NAS?
Subject: Which method (rsync-based) is better for backing up Linux servers to Synology NAS? Good day from Singapore, Our customer has 2 CentOS 7.9 Linux servers with cPanel web hosting control panel installed. We would like to backup the 2 CentOS 7.9 Linux servers to Synology NAS. Which method (rsync-based) is better for backing up Linux servers to Synology NAS? We are looking at 2 methods. Method 1 ======= rsnapshot Method 2 ======= Guide: Backup a Linux PC to a Synology NAS using Rsync! Link: https://www.wundertech.net/how-to-backup-a-linux-pc-to-a-synology-nas-using-rsync/ Both methods are based on rsync. If we choose method 1, we are able to have retention periods. If we choose method 2, we can't have retention periods. But rsnapshot is much more difficult to configure that method 2. We are looking forward to your advice. Thank you very much. Mr. Turritopsis Dohrnii Teo En Ming, 43 years old as of 9 August 2021, is a TARGETED INDIVIDUAL living in Singapore. He is an IT Consultant with a System Integrator (SI)/computer firm in Singapore. He is an IT enthusiast. -----BEGIN EMAIL SIGNATURE----- The Gospel for all Targeted Individuals (TIs): [The New York Times] Microwave Weapons Are Prime Suspect in Ills of U.S. Embassy Workers Link: https://www.nytimes.com/2018/09/01/science/sonic-attack-cuba-microwave.html ******************************************************************************************** Singaporean Targeted Individual Mr. Turritopsis Dohrnii Teo En Ming's Academic Qualifications as at 14 Feb 2019 and refugee seeking attempts at the United Nations Refugee Agency Bangkok (21 Mar 2017), in Taiwan (5 Aug 2019) and Australia (25 Dec 2019 to 9 Jan 2020): [1] https://tdtemcerts.wordpress.com/ [2] https://tdtemcerts.blogspot.sg/ [3] https://www.scribd.com/user/270125049/Teo-En-Ming -----END EMAIL SIGNATURE-----
Bri Hatch
2021-Aug-09 15:51 UTC
Which method (rsync-based) is better for backing up Linux servers to Synology NAS?
tl;dr: rsnapshot is usually the best plan. Details: rsnapshot copies files from remote machines and stores snapshotted directories locally. If you want to get the CentOS servers copied to the synology then you need to run rsnapshot from the synology. Synology doesn't have rsnapshot out of the box but it looks like there's a third party package available. If you don't want to install rsnapshot on the synology you have a hackish option that may work, but I haven't tried. Have a separate dedicated backup server, mount the synology's backup drive on that server over NFS, and run rsnapshot from it. rsnapshot attempts to be efficient by hard linking files when not changed, and NFS supports these, while SMB and other mount options do not. You run rsnapshot from this linux machine to pull down the CentOS files to the synology filesystem via the NFS mount. The other option you reference requires running rsync from the CentOS machine to the synology. This can work, though since synology does things weird you'd need rsync --rsync-path=/usr/bin/rsync ... so it uses the real rsync daemon on the synology side. (Not needed when running rsync *from* the synology.) Regardless which option you use you'll need to set up ssh keys on one side and authorized_keys on the other, and may want to consider protecting the access via authprogs <https://github.com/daethnir/authprogs> or sshdo. On Sun, Aug 8, 2021 at 11:45 PM Turritopsis Dohrnii Teo En Ming via rsync < rsync at lists.samba.org> wrote:> Subject: Which method (rsync-based) is better for backing up Linux > servers to Synology NAS? > > Good day from Singapore, > > Our customer has 2 CentOS 7.9 Linux servers with cPanel web hosting > control panel installed. > > We would like to backup the 2 CentOS 7.9 Linux servers to Synology NAS. > > Which method (rsync-based) is better for backing up Linux servers to > Synology NAS? > > We are looking at 2 methods. > > Method 1 > =======> > rsnapshot > > Method 2 > =======> > Guide: Backup a Linux PC to a Synology NAS using Rsync! > Link: > https://www.wundertech.net/how-to-backup-a-linux-pc-to-a-synology-nas-using-rsync/ > > Both methods are based on rsync. > > If we choose method 1, we are able to have retention periods. If we > choose method 2, we can't have retention periods. But rsnapshot is > much more difficult to configure that method 2. > > We are looking forward to your advice. > > Thank you very much. > > Mr. Turritopsis Dohrnii Teo En Ming, 43 years old as of 9 August 2021, > is a TARGETED INDIVIDUAL living in Singapore. He is an IT Consultant > with a System Integrator (SI)/computer firm in Singapore. He is an IT > enthusiast. > > > > > > -----BEGIN EMAIL SIGNATURE----- > > The Gospel for all Targeted Individuals (TIs): > > [The New York Times] Microwave Weapons Are Prime Suspect in Ills of > U.S. Embassy Workers > > Link: > https://www.nytimes.com/2018/09/01/science/sonic-attack-cuba-microwave.html > > > ******************************************************************************************** > > Singaporean Targeted Individual Mr. Turritopsis Dohrnii Teo En Ming's > Academic Qualifications as at 14 Feb 2019 and refugee seeking attempts > at the United Nations Refugee Agency Bangkok (21 Mar 2017), in Taiwan > (5 Aug 2019) and Australia (25 Dec 2019 to 9 Jan 2020): > > [1] https://tdtemcerts.wordpress.com/ > > [2] https://tdtemcerts.blogspot.sg/ > > [3] https://www.scribd.com/user/270125049/Teo-En-Ming > > -----END EMAIL SIGNATURE----- > > -- > Please use reply-all for most replies to avoid omitting the mailing list. > To unsubscribe or change options: > https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html >-- Bri Hatch, Systems and Security Engineer. http://www.ifokr.org/bri/ The sooner you fall behind, the more time you'll have to catch up. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20210809/487cd1c2/attachment.htm>
Dan Stromberg
2021-Aug-09 22:44 UTC
Which method (rsync-based) is better for backing up Linux servers to Synology NAS?
I suppose I may as well mention: https://stromberg.dnsalias.org/~dstromberg/Backup.remote It just does rsync snapshotting with --link-dest, and keeps the last n snapshots. It's smart enough to resume a previously interrupted snapshot. It's pretty simple - both to set up and to use. I used to use it a lot. I still will if I come up with a backup usage that requires high speed. On Sun, Aug 8, 2021 at 11:46 PM Turritopsis Dohrnii Teo En Ming via rsync < rsync at lists.samba.org> wrote:> Subject: Which method (rsync-based) is better for backing up Linux > servers to Synology NAS? > > Good day from Singapore, > > Our customer has 2 CentOS 7.9 Linux servers with cPanel web hosting > control panel installed. > > We would like to backup the 2 CentOS 7.9 Linux servers to Synology NAS. > > Which method (rsync-based) is better for backing up Linux servers to > Synology NAS? > > We are looking at 2 methods. > > Method 1 > =======> > rsnapshot > > Method 2 > =======> > Guide: Backup a Linux PC to a Synology NAS using Rsync! > Link: > https://www.wundertech.net/how-to-backup-a-linux-pc-to-a-synology-nas-using-rsync/ > > Both methods are based on rsync. > > If we choose method 1, we are able to have retention periods. If we > choose method 2, we can't have retention periods. But rsnapshot is > much more difficult to configure that method 2. > > We are looking forward to your advice. > > Thank you very much. > > Mr. Turritopsis Dohrnii Teo En Ming, 43 years old as of 9 August 2021, > is a TARGETED INDIVIDUAL living in Singapore. He is an IT Consultant > with a System Integrator (SI)/computer firm in Singapore. He is an IT > enthusiast. > > > > > > -----BEGIN EMAIL SIGNATURE----- > > The Gospel for all Targeted Individuals (TIs): > > [The New York Times] Microwave Weapons Are Prime Suspect in Ills of > U.S. Embassy Workers > > Link: > https://www.nytimes.com/2018/09/01/science/sonic-attack-cuba-microwave.html > > > ******************************************************************************************** > > Singaporean Targeted Individual Mr. Turritopsis Dohrnii Teo En Ming's > Academic Qualifications as at 14 Feb 2019 and refugee seeking attempts > at the United Nations Refugee Agency Bangkok (21 Mar 2017), in Taiwan > (5 Aug 2019) and Australia (25 Dec 2019 to 9 Jan 2020): > > [1] https://tdtemcerts.wordpress.com/ > > [2] https://tdtemcerts.blogspot.sg/ > > [3] https://www.scribd.com/user/270125049/Teo-En-Ming > > -----END EMAIL SIGNATURE----- > > -- > Please use reply-all for most replies to avoid omitting the mailing list. > To unsubscribe or change options: > https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20210809/a5f67a13/attachment.htm>