Friday, September 27, 2024

Mount options for attached block storage partition to be used exclusively for rsnapshot

Hello!

I have a VPS that will use rsnapshot to back up other servers via the
private network.

The storage used to support this is a block storage device provided by
my ISP.

Assuming I am understanding mount options and my use case correctly,
I've generated the following for /etc/fstab:

17a48e68309bde92a.a /.snapshots ffs rw,nodev,noexec,nosuid 1 2

I'm assuming nosuid will not cause issues since rsnapshot/rsync *should*
just be archiving everything identically the source. Of course, there
are server partitions that will be backed up which do not set nosuid
(e.g., /, /usr, /usr/local, /usr/X11R6), but the files, permissions,
etc., should be identical on the backup regardless of having nosuid set.
Do I understand this correctly?

Another concern is using attached storage and whether or not to use the
sync option. I don't have enough experience with with the attached
storage or rsnapshot/rsync to know if this can become an issue somewhere
down the line, but I assumed on this matter the default is likely
sufficient.

Thank you,


Paul

No comments:

Post a Comment