10-12-2019
Quote:
Originally Posted by
engineer2002
Is it possible to take incremental backup in Linux using tar command?
Please guide me.
Suppose I have a directory /data.
And want incremental backup.
What will be the incremental "tar" command syntax?
Linux already has many good backup systems which uses some variations of
tar (or
rsync and tar) and is executed from
cron.
Why not use that one of those and not reinvent the wheel?
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i have taken a backup using cpio command. Now i want to retrieve the contents. Replies appreciated.
raguram (2 Replies)
Discussion started by: raguramtgr
2 Replies
2. AIX
When I use tsm command: archive -subdir=yes /dir1/
to backup file system: /dir1
After I delete the contents under /dir1 and recovery it from TSM backup,
retrieve /dir1/
I found the link breaked. Such as:
Before:
ls -l
lrwxrwxrwx 1 abc develop 8 Apr 28 16:04 bin... (1 Reply)
Discussion started by: rainbow_bean
1 Replies
3. Linux
Hey guys, I hope this is the right place to post. As i'm not too sure where this question would go.
The question is: How is backup and recovery carried out in major corporations. Even if you are not in a major corporation an answer would be great.
I'm doing some research as to how it's carried... (2 Replies)
Discussion started by: LibRid
2 Replies
4. Shell Programming and Scripting
Hi,
Do we have any options in rsync to recover files from the backup?
Please share your thoughts.
Thanks in advance. (0 Replies)
Discussion started by: MVEERA
0 Replies
5. Shell Programming and Scripting
Hi Everyone,
we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment?
Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies
6. Red Hat
Can you please let me know a clear step by step procedure link/doc for an effective full backup and recovery procedure for a Redhat server with 2.6.34.9-69.fc13.x86_64 ?
Thanks in advance.
I also have the same question for Ubuntu Enterprise 12.04 if you would ...
thanks again (0 Replies)
Discussion started by: cmontr
0 Replies
LEARN ABOUT SUSE
virt-tar-in
virt-tar-in(1) Virtualization Support virt-tar-in(1)
NAME
virt-tar-in - Unpack a tarball into a virtual machine disk image.
SYNOPSIS
virt-tar-in -a disk.img data.tar /destination
virt-tar-in -d domain data.tar /destination
zcat data.tar.gz | virt-tar-in -d domain - /destination
WARNING
Using "virt-tar-in" on live virtual machines can be dangerous, potentially causing disk corruption. The virtual machine must be shut down
before you use this command.
DESCRIPTION
"virt-tar-in" unpacks an uncompressed tarball into a virtual machine disk image or named libvirt domain.
The first parameter is the tar file. Use "-" to read the tar file from standard input. The second parameter is the absolute target
directory to unpack into.
EXAMPLES
Upload a home directory to a guest:
virt-tar-in -d MyGuest homes.tar /home
JUST A SHELL SCRIPT WRAPPER AROUND GUESTFISH
This command is just a simple shell script wrapper around the guestfish(1) "tar-in" command. For anything more complex than a trivial
copy, you are probably better off using guestfish directly.
OPTIONS
Since the shell script just passes options straight to guestfish, read guestfish(1) to see the full list of options.
SEE ALSO
guestfish(1), virt-cat(1), virt-copy-in(1), virt-copy-out(1), virt-edit(1), virt-make-fs(1), virt-tar-out(1), <http://libguestfs.org/>.
AUTHORS
Richard W.M. Jones ("rjones at redhat dot com")
COPYRIGHT
Copyright (C) 2011 Red Hat Inc. <http://libguestfs.org/>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
libguestfs-1.18.1 2013-12-07 virt-tar-in(1)