Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

shimdidly ,

This isn't even meme, this is exactly how it is. I run this script once a day on my Raspberry Pi NAS:

rsync -va /media/pi5tb/ /media/pi5tb_backup/

gandalf_der_12te ,
@gandalf_der_12te@feddit.org avatar

backup-2024-06-27

possiblylinux127 ,
@possiblylinux127@lemmy.zip avatar

Btrfs:

sudo btrfs -m raid1 -d raid1 /dev/sda1 /dev/sdb1

ZFS:

zpool create mypool mirror /dev/sda /dev/sdb
savvywolf ,
@savvywolf@pawb.social avatar

Technically that would mean that one copy of the file is no longer updated when the other is.

You should consider using ln bkp.tar.gz bkp2.tar.gz instead.

itslilith ,
@itslilith@lemmy.blahaj.zone avatar

that just keeps the data in one physical location though

palordrolap ,

thatsthejoke.gif

freijon ,
loop {
    rsync -tu bkp.tar.gz bkp2.tar.gz
    rsync -tu bkp2.tar.gz bkp.tar.gz
}
Diplomjodler3 ,

Hackerman!

slazer2au ,

Shouldn't you copy the file to another drive?

JoMomma ,

That would be Raid 2, a totally unnecessary amount of Raids

wreckedcarzz ,
@wreckedcarzz@lemmy.world avatar

Tru fax

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linuxmemes@lemmy.world
  • random
  • incremental_games
  • meta
  • All magazines