Hi.
I've (fairly) recently become the proud owner of a Pi5 running Raspberry
Pi OS. Storage is a 250 Gig NVMe drive.
I also have a Synology NAS.
I'm looking for suggestions on software I can use to back up the Pi5 to
the NAS. I've seen conflicting suggestions on various sites, so thought
I would come to the fount of all knowledge that is Usenet.
Any suggestions gratefully received.
Any suggestions gratefully received.
Hi.
I've (fairly) recently become the proud owner of a Pi5 running Raspberry
Pi OS. Storage is a 250 Gig NVMe drive.
I also have a Synology NAS.
I'm looking for suggestions on software I can use to back up the Pi5 to
the NAS. I've seen conflicting suggestions on various sites, so thought I would come to the fount of all knowledge that is Usenet.
Any suggestions gratefully received.
Forget all BS like rsync etc. except you don't care about disk space.
In message <f881ae305c.BrianNews@brianhowlett.me.uk>
Brian Howlett <news-spamtrap@brianhowlett.me.uk> wrote:
Hi.
I've (fairly) recently become the proud owner of a Pi5 running Raspberry Pi OS. Storage is a 250 Gig NVMe drive.
I also have a Synology NAS.
I'm looking for suggestions on software I can use to back up the Pi5 to the NAS. I've seen conflicting suggestions on various sites, so thought I would come to the fount of all knowledge that is Usenet.
Any suggestions gratefully received.
rsync
David
Stores a single copy of a file across multiple backups via inodes.
Don't know if that rules out any filesystems, I am archiving to HFS+
and ext4.
rsync has this nifty option called “--link-dest”, which lets you create incremental backups that look like full backups for restoration purposes,
but with files that were unchanged since the last backup deduped to reduce disk space.
Lawrence D'Oliveiro wrote:
rsync has this nifty option called “--link-dest”, which lets you create >> incremental backups that look like full backups for restoration
purposes, but with files that were unchanged since the last backup
deduped to reduce disk space.
rsync is good tool, but it is not a backup tool ...
the mentioned functionality is meant to reduce traffic and save time
more than reduce disk space.
And I do not know how a restore would look like with rsync.
Lawrence D'Oliveiro wrote:
rsync has this nifty option called “--link-dest”, which lets you create >> incremental backups that look like full backups for restoration purposes,
but with files that were unchanged since the last backup deduped to reduce >> disk space.
rsync is good tool, but it is not a backup tool, while Borg Backup is a perfect backup tool.
the mentioned functionality is meant to reduce traffic and save time more than reduce disk space.
And I do not know how a restore would look like with rsync. With borg it is
a one liner.
I leave the decision with the OP
rsync just creates a mirror of the state of the filesystem. Restoration is done with regular file copy commands -- e.g. an rsync in the opposite direction.
On Sun, 22 Jun 2025 22:34:27 -0700, Tom Blenko wrote:
Stores a single copy of a file across multiple backups via inodes.
Don't know if that rules out any filesystems, I am archiving to HFS+
and ext4.
Not sure about HFS+ (Is that still in use??), but hard-linking via the -- link-dest option is a standard POSIX thing.
Decision what to use is yours!
Rsync is an excellent backup tool. Not the least because it contains an
exact copy of the source.
I don't think Apple quite advertises it this way but as a matter of
practice HFS+ is still the preferred filesystem for any external
disk on a (current-era) Apple system. APFS is out there and
mentioned more prominently, in my experience, but that is really for
internal SSDs.
I have a friend who put APFS on a spinning internal drive (while
working at Apple) with somewhat dated hardware and saw inferior
performance (to HFS+). He reported this to the guy who designed APFS
whose response was, "Of course." I have done modest testing of APFS
on external SSDs and it was markedly slower than HFS+ on the same
drive.
Lawrence D'Oliveiro wrote:
rsync has this nifty option called “--link-dest”, which lets you create >> incremental backups that look like full backups for restoration purposes,
but with files that were unchanged since the last backup deduped to reduce >> disk space.
rsync is good tool, but it is not a backup tool, while Borg Backup is a perfect backup tool.
the mentioned functionality is meant to reduce traffic and save time more than reduce disk space.
And I do not know how a restore would look like with rsync. With borg it is
a one liner.
I leave the decision with the OP
As if we need your permission.
On 23/06/2025 at 07:15, Deloptes wrote:
Lawrence D'Oliveiro wrote:
rsync has this nifty option called “--link-dest”, which lets you create >>> incremental backups that look like full backups for restoration
purposes,
but with files that were unchanged since the last backup deduped to
reduce
disk space.
rsync is good tool, but it is not a backup tool, while Borg Backup is a
perfect backup tool.
the mentioned functionality is meant to reduce traffic and save time more
than reduce disk space.
And I do not know how a restore would look like with rsync. With borg
it is
a one liner.
I leave the decision with the OP
I use rsync regularly to backup remote systems using ssh, where
known_hosts and authorized_keys are correctly populated (eg):
rsync $OPTIONS remotehost:/ localdir/
to copy a whole remote host to a local directory system.
I can't see a way for borg to do this. Am I wrong?
Lawrence D'Oliveiro wrote:
As if we need your permission.
why trolling. You have opinion, I have opinion, whats the problem?
Generally that you only tolerate yours :-)
Hi.
I've (fairly) recently become the proud owner of a Pi5 running Raspberry
Pi OS. Storage is a 250 Gig NVMe drive.
I also have a Synology NAS.
I'm looking for suggestions on software I can use to back up the Pi5 to
the NAS. I've seen conflicting suggestions on various sites, so thought I would come to the fount of all knowledge that is Usenet.
On 2025-06-21, Brian Howlett <news-spamtrap@brianhowlett.me.uk> wrote:
Hi.
I've (fairly) recently become the proud owner of a Pi5 running Raspberry Pi OS. Storage is a 250 Gig NVMe drive.
I also have a Synology NAS.
I'm looking for suggestions on software I can use to back up the Pi5 to the NAS. I've seen conflicting suggestions on various sites, so thought I would come to the fount of all knowledge that is Usenet.
I think this depends on what is the meaning of "NAS". In many (most?)
cases, NAS means a VFAT file system projected through CIFS/Samba to the
LAN. The unit does not have a user-accessible operating system. In some
cases there is Linux under the hood, but no way to install applications on it.
In such an environment, /rsync/ is not an option.
On Sun, 22 Jun 2025 09:13:52 +0200, Deloptes wrote:
Forget all BS like rsync etc. except you don't care about disk space.
rsync has this nifty option called “--link-dest”, which lets you create incremental backups that look like full backups for restoration purposes, but with files that were unchanged since the last backup deduped to reduce disk space.
My NAS runs OpenMediaVault. It happens that mine is on a Raspberry Pi,
but it's available (at zero cost) for many platforms. It's Linux under
the bonnet, and the file systems in my case are ext4 - I can't imagine
anyone would choose VFAT for use under Linux.
o ... if this is really about one of those "hardswired CIFS"type of
NAS, what is the best method?
On 2025-06-23, David Higton <dave@davehigton.me.uk> wrote:
My NAS runs OpenMediaVault. It happens that mine is on a Raspberry Pi,
but it's available (at zero cost) for many platforms. It's Linux under
the bonnet, and the file systems in my case are ext4 - I can't imagine anyone would choose VFAT for use under Linux.
I looked up OpenMediaVault, and it kinda looks like it is an Ubuntu spin optimized for media serving.
In my own case, I tend to just run a Fedora box, and let it serve media
with Samba. And for that I use an (older, hence cheap) desktop tower. I
don't quite see why one would buy a second box and allow that to only run file service. But if you did, what is a good hardware package to run it on?
o ... if this is really about one of those "hardswired CIFS"type of
NAS, what is the best method?
It's a Synology DS115J box - the backups of my other devices go to 2 external USB drives which are formatted to EXT4.
I can access it via a browser, and it does allow me to install software on it, so I will investigate if there is anything available that will allow
me to back up my Pi5 from that end.
On 23/06/2025 11:25, Chris Elvidge wrote:
I also do this with an rsyncd on the far end ...
I use rsync regularly to backup remote systems using ssh, where
known_hosts and authorized_keys are correctly populated (eg):
rsync $OPTIONS remotehost:/ localdir/
to copy a whole remote host to a local directory system.
I looked it up. It seems to be an ARM CPU in an enclosure that has only room for one drive. For a NAS, I would be looking for an enclosure that could
hold 4 drives, but those are getting rarer. The secondhand market has
plenty of small form factor desktops with low-end x86 or AMD64
processors and room for 2 drives for less than what this costs.
If you need to put the drives externally in a stack of USB enclosures,
you might as well use an RPI4 in a CanoKit box.
I don't get the attraction of this type of device.
That's like asking "how long is a piece of string?"
I think this depends on what is the meaning of "NAS".
In many (most?) cases, NAS means a VFAT file system projected through CIFS/Samba to the LAN.
On Mon, 23 Jun 2025 18:51:18 +0100, The Natural Philosopher wrote:
On 23/06/2025 11:25, Chris Elvidge wrote:
I also do this with an rsyncd on the far end ...
I use rsync regularly to backup remote systems using ssh, where
known_hosts and authorized_keys are correctly populated (eg):
rsync $OPTIONS remotehost:/ localdir/
to copy a whole remote host to a local directory system.
I’ve never found a use for rsyncd. All my network-based rsyncs have
been point-to-point connections via SSH.
I wouldn't recommend rsync:// protocol because it's unencrypted ...
Rsync is an excellent backup tool. Not the least because it contains an exact copy of the source.
Restore is simply a question of using it in reverse.
I can't see a way for borg to do this. Am I wrong?
Chris Elvidge wrote:
I can't see a way for borg to do this. Am I wrong?
well, I have done this several times, so yes, you are wrong.
Example?
Snapshots solve issue with changing files while system is running.
What happens if the file change is not complete when the snapshot is
taken?
Lawrence D'Oliveiro wrote:
What happens if the file change is not complete when the snapshot is
taken?
The purpose of snapshot is exactly to prevent this situation. Read about
LVM snapshots.
But the snapshotting system has no idea what updates applications might be
in the progress of doing to their data files.
Lawrence D'Oliveiro wrote:
But the snapshotting system has no idea what updates applications might
be in the progress of doing to their data files.
Well, I do not know what a given application might or might not do. In
any case it is not relevant (only) to borg, but to any backup system
incl. rsync, so I do not know why this question is asked in the context
of borg.
You were the one making a big deal out of some kind of special
snapshotting system. Is that statement inoperative now?
You know, at the end may be it is better for you to stick to rsync.
Simple minds - simple tools.
Lawrence D'Oliveiro wrote:
You were the one making a big deal out of some kind of special
snapshotting system. Is that statement inoperative now?
I do not think so. Everything is valid. I am afraid you either lack the capacity or the experience to understand.
And I personally did test complete restore of a whole production
environment: 10 blade servers with 40+ VMs, 3 bare metal servers,
varios databases, etc. etc. ...
You know, at the end may be it is better for you to stick to rsync.
Simple minds - simple tools.
You were the one asking me to look at LVM snapshots, as though they had
some relevance to the discussion. Do you backpedal from that now?
And I personally did test complete restore of a whole production
environment: 10 blade servers with 40+ VMs, 3 bare metal servers,
varios databases, etc. etc. ...
Presumably you were relying on the applications themselves (e.g. DBMSes)
to recover from inconsistencies in their data. Things are always easier
when they’re Someone Else’s Problem, aren’t they?
You know, at the end may be it is better for you to stick to rsync.
Simple minds - simple tools.
Fun fact: Andrew Tridgell, who originally created rsync, did his PhD
thesis on the algorithm it uses that allows two processes on different machines to compare two files, one on each side, without having to copy
the bulk of either one of them over the network to the other side.
Veritas Appliances never had anything like that, did they?
Lawrence D'Oliveiro wrote:
I "like" people who take it personally .... did you measure your blood pressure?
I wrote look at snapshots (in case you are not familiar). But yeah ...
you somehow take it as personal attack. Pathetic!
I've (fairly) recently become the proud owner of a Pi5 running Raspberry
Pi OS. Storage is a 250 Gig NVMe drive.
I also have a Synology NAS.
I'm looking for suggestions on software I can use to back up the Pi5 to
the NAS. I've seen conflicting suggestions on various sites, so thought I >would come to the fount of all knowledge that is Usenet.
In article <f881ae305c.BrianNews@brianhowlett.me.uk>,
Brian Howlett <brian@brianhowlett.me.uk> wrote:
I've (fairly) recently become the proud owner of a Pi5 running Raspberry
Pi OS. Storage is a 250 Gig NVMe drive.
I also have a Synology NAS.
I'm looking for suggestions on software I can use to back up the Pi5 to
the NAS. I've seen conflicting suggestions on various sites, so thought I >>would come to the fount of all knowledge that is Usenet.
Depending on what's being backed up, I use either duplicity or rclone for online storage. Both of them will back up to S3-compatible object storage.
At work, we have a Synology RS3621RPxs on which MinIO is running in a Docker container to provide local object storage. It holds archived VM data stored with rclone, among other things.
I bought a USB drive and formatted it to ext4 and used rsync to back up
the Pi 5.
On Mon, 07 Jul 2025 16:58:38 +0100, Brian Howlett wrote:
I bought a USB drive and formatted it to ext4 and used rsync to back up
the Pi 5.
Don’t forget the tips on how to keep a rolling set of timestamped backups, without needing space for extra copies of files which haven’t changed.
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
On Mon, 07 Jul 2025 16:58:38 +0100, Brian Howlett wrote:
I bought a USB drive and formatted it to ext4 and used rsync to back
up the Pi 5.
Don’t forget the tips on how to keep a rolling set of timestamped
backups, without needing space for extra copies of files which haven’t
changed.
rsnapshot does that for you, using rsync and hard links.
On 07 Jul 2025 23:47:57 +0100 (BST), Theo wrote:
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
On Mon, 07 Jul 2025 16:58:38 +0100, Brian Howlett wrote:
I bought a USB drive and formatted it to ext4 and used rsync to back
up the Pi 5.
Don’t forget the tips on how to keep a rolling set of timestamped
backups, without needing space for extra copies of files which haven’t >> changed.
rsnapshot does that for you, using rsync and hard links.
Sure, these convenient wrappers around rsync handle some common cases
with less work. But they still don’t offer the full power and
generality of rsync itself.
Also, rsnapshot refers to this article <http://www.mikerubel.org/computers/rsync_snapshots/>, which has been obsoleted by the addition of --link-dest to rsync. Does rsnapshot make
use of that to simplify things?
That page is 20 years old!
The rsnapshot utilitiy will take care of rotating your snapshots
(keeping N daily/weekly/monthly etc) which pure rsync won't do.
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 1,064 |
Nodes: | 10 (0 / 10) |
Uptime: | 146:30:23 |
Calls: | 13,691 |
Calls today: | 1 |
Files: | 186,935 |
D/L today: |
23 files (2,078K bytes) |
Messages: | 2,410,869 |