* Selectively backup based on specific date @ 2017-03-23 13:21 Michael Lueck 2017-03-23 14:11 ` Hans-Peter Jansen 0 siblings, 1 reply; 4+ messages in thread From: Michael Lueck @ 2017-03-23 13:21 UTC (permalink / raw) To: linux-xfs Greetings, I am looking for the correct xfsdump syntax to backup dirs/files newer than a certain date. I have not found mention of such an option / capability within xfsdump. Hopefully there is a creative way to do the selective backup. This is for use on Ubuntu 16.04. Please advise. I am thankful, -- Michael Lueck Lueck Data Systems http://www.lueckdatasystems.com/ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Selectively backup based on specific date 2017-03-23 13:21 Selectively backup based on specific date Michael Lueck @ 2017-03-23 14:11 ` Hans-Peter Jansen 2017-03-23 14:31 ` Michael Lueck 2017-03-23 21:38 ` Dave Chinner 0 siblings, 2 replies; 4+ messages in thread From: Hans-Peter Jansen @ 2017-03-23 14:11 UTC (permalink / raw) To: Michael Lueck; +Cc: linux-xfs Hi Michael, On Donnerstag, 23. März 2017 09:21:56 Michael Lueck wrote: > Greetings, > > I am looking for the correct xfsdump syntax to backup dirs/files newer than > a certain date. xfsdump is a tool in the tradition of unix filesystem dump utilities. Those always dump a full filesystem, and consequently, fully restore filesystems only. > I have not found mention of such an option / capability within xfsdump. > Hopefully there is a creative way to do the selective backup. Using a linux derivate, there are plenty of more or less creative options to selectively backup/restore arbitrary file systems, but this is rather OT for the ML. Here are some of my favorite tools: rsync for ad hoc operations, rsnapshot for regular file based backups, borg for deduplicated backups (e.g. VM images). They all perform nicely over LAN as well. If you seek professional support in this regard, send an PM. Cheers, Pete ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Selectively backup based on specific date 2017-03-23 14:11 ` Hans-Peter Jansen @ 2017-03-23 14:31 ` Michael Lueck 2017-03-23 21:38 ` Dave Chinner 1 sibling, 0 replies; 4+ messages in thread From: Michael Lueck @ 2017-03-23 14:31 UTC (permalink / raw) To: Hans-Peter Jansen; +Cc: linux-xfs Greetings Hans-Peter, Hans-Peter Jansen wrote: > Here are some of my favorite tools: > rsync for ad hoc operations, Excellent idea! As this effort involves a slide replacement migration... OK to begin with the xfsrestore from a full backup. Then change the IP on the old server, put both servers on the wire, and rsync to catch up. Got it! (y) I am thankful, -- Michael Lueck Lueck Data Systems http://www.lueckdatasystems.com/ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Selectively backup based on specific date 2017-03-23 14:11 ` Hans-Peter Jansen 2017-03-23 14:31 ` Michael Lueck @ 2017-03-23 21:38 ` Dave Chinner 1 sibling, 0 replies; 4+ messages in thread From: Dave Chinner @ 2017-03-23 21:38 UTC (permalink / raw) To: Hans-Peter Jansen; +Cc: Michael Lueck, linux-xfs On Thu, Mar 23, 2017 at 03:11:07PM +0100, Hans-Peter Jansen wrote: > Hi Michael, > > On Donnerstag, 23. März 2017 09:21:56 Michael Lueck wrote: > > Greetings, > > > > I am looking for the correct xfsdump syntax to backup dirs/files newer than > > a certain date. > > xfsdump is a tool in the tradition of unix filesystem dump utilities. > Those always dump a full filesystem, and consequently, fully restore > filesystems only. Not true. xfsdump/restore can backup directory subtrees just fine. See, for example, the '-s pathname' option.... > > I have not found mention of such an option / capability within xfsdump. > > Hopefully there is a creative way to do the selective backup. xfsdump does "backup files changed since" operations via incremental backups. i.e. if you want to backup only things changed since $DATE, you first need to have run a dump that on $DATE, and you then do an incremental dump which will contain only the changed files/dirs since $DATE... IOWs, xfsdump is designed to be used as part of a well-defined, managed backup and disaster recovery strategy - it's not an ad-hoc "copy random specification of files" tool. > Using a linux derivate, there are plenty of more or less creative options to > selectively backup/restore arbitrary file systems, but this is rather OT for > the ML. The downside of these generic utilities is they are much slower than xfsdump for large scale backup operations, they trash the inode/dentry/page caches and they don't really support concurrent operations needed to scale effectively. i.e. if you need to dump throughput of multiple GB/s, process tens/hundreds of millions of files and/or drive multiple tape drives concurrently from a single filesystem, then xfsdump is a much better option... Cheers, Dave. -- Dave Chinner david@fromorbit.com ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-03-23 21:38 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-03-23 13:21 Selectively backup based on specific date Michael Lueck 2017-03-23 14:11 ` Hans-Peter Jansen 2017-03-23 14:31 ` Michael Lueck 2017-03-23 21:38 ` Dave Chinner
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.