LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-09-2014, 04:31 AM   #1
bagpussnz
Member
 
Registered: Aug 2003
Posts: 54

Rep: Reputation: 15
btrfs filesystem backup to a backup server


Hi,
Some of my developers are asking to use a btrfs filesystem on one of our servers.

I don't want to do this without being able to back it up to another machine. (that old fashioned stuff - disaster recovery, etc).

Can anyone suggest a solution? Haven't found anything yet.

Cheers,
Ian
 
Old 06-09-2014, 06:19 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Define "backup". Data is just data - what do you use now ?
First port of call should (must) be the btrfs wiki. If you expect a lot of data under btrfs and/or want to explore some of it's features, maybe start by looking at Incremental_Backup.

You mentioned a "server" - for btrfs this will need to be kept (very) current on kernel and btrfs-progs.
 
Old 06-09-2014, 04:42 PM   #3
bagpussnz
Member
 
Registered: Aug 2003
Posts: 54

Original Poster
Rep: Reputation: 15
Thanks for the reply.

Currently our Linux/Unix servers are backed up (using rsync) to a bunch of backup servers (with separate sans and external media for offsite storage).

I've allocated 1TB for the btrfs filesystem but with reflinks and snapshots, an rsync backup would be a lot larger than 1TB.

I was after a backup solution that would allow me to efficiently backup the btrfs filesystem to a different machine.
 
Old 06-09-2014, 06:59 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
btrfs is COW - you wouldn't copy all the snaps, just the one you want. Used to be you had to use rsync, but that was a (long) while ago. Did you read the bit on incremental backup in the article I linked to ?. That's the preferred (quick) way to do it. No reason the destination can't be another machine.
 
  


Reply

Tags
backup, btrfs



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can backup a remote server(only folder needed) with ftp ,daily backup? ahjafari Linux - Newbie 1 10-26-2011 04:04 PM
What is the best backup method to make a backup of a running Ubuntu server ? pmorin Linux - Software 9 09-28-2011 07:12 AM
What is the difference between filesystem backup and a server image? ShaqDiesel Red Hat 1 08-29-2008 04:43 AM
Using RSync to backup a secondary off-site backup server pezdspencer Linux - Software 4 06-29-2007 03:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration