20
submitted 11 months ago by Pantherina@feddit.de to c/linux@lemmy.ml

I am currently using Freefilesync Flatpak, but that app is not great at all. I dont want weird archives or anything, just to copy my filesystem to another drive.

Also, I want to mirror with the possibility to exclude folders. Mirroring means that the backup should be updated to look like my disk, including deletion of files.

I tested many tools in the Past and for some reason came back to FFS.

Best would be to have automatic backups once I plug in and decrypt the backup drive.

Thanks!

you are viewing a single comment's thread
view the rest of the comments
[-] atzanteol@sh.itjust.works 7 points 11 months ago* (last edited 11 months ago)

rsync is ubiquitous and the standard for this type of job.

rsync -rav --delete --progress --exclude=ignore_dir source-dir user@host:remote_dir

SSH is used to connect. Ownership, symlinks, etc. are preserved. Add more "excludes" to filter out more directories. Do your first run without " delete" to make sure things are going where you want.

If you want "backups" I would suggest something more sophisticated. But for just cloning this is the way.

this post was submitted on 07 Nov 2023
20 points (85.7% liked)

Linux

47766 readers
1217 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS