Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cross Server BTRFS backups?

Featured Replies

Hi,

 

is it possible to work with BTRFS snapshots across two server?

I'm running a cache on one server and would like to create snapshot backups (+ deltas) on the other one.

Yes, you can use btrfs send/receive over ssh, that's how I backup all my servers.

  • Author

Could you elaborate a little bit or send me a resource to read up please?

There's some info here on how btrfs snapshots and send/receive work, difference is there it's sending locally, to send changes to another server you'd use for example:

 

btrfs send -p /mnt/data/old_snaphot /mnt/data/new_snaphot | ssh root@ip "btrfs receive /mnt/backups"

 

There's no GUI support, so you have to use the console or a script.

  • Author

I don't mind scripting ;)

 

but I still need a full snapshot on the source server?

1 minute ago, Jaster said:

but I still need a full snapshot on the source server?

 

Initial snapshot need to be sent in full to the dest server:

 

btrfs send /mnt/data/1st_snaphot | ssh root@ip "btrfs receive /mnt/backups"

 

After that you send only the changes:

 

btrfs send -p /mnt/data/1st_snaphot /mnt/data/2nd_snaphot | ssh root@ip "btrfs receive /mnt/backups"

 

and so on.

 

 

  • Author

so on the first server I have the data, the initial snapshot and one delta?

or can I get rid/avoid the initial duplicate/snapshot on the source server?

18 hours ago, Jaster said:

so on the first server I have the data, the initial snapshot and one delta?

Yep.

 

18 hours ago, Jaster said:

or can I get rid/avoid the initial duplicate/snapshot on the source server?

No, but before you change that data that it refers to snapshots don't take any space.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.