LinuxQuestions.org
Help answer threads with 0 replies.
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: 51

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: 18,587

Rep: Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112
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: 51

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: 18,587

Rep: Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:57 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration