01-29-2009
Backup with tar
Hi friends,
I am planning to backup my Solaris Servers to SAN storage using tar.
Also palnning to automate the job using Crontab.
Can anyone advise how to make the date change automatically everyday for backup.
Pls correct me if I am wrong. Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All,
I have created a tar file by giving the below command :
all files of directory : /Accounts/2001/10/26
$tar -cvf Act26.tar /Accounts/2001/10/26
I copied into another server and given the following command:
$tar -xvf Act26.tar
then permision denied message came due to the... (3 Replies)
Discussion started by: krishna
3 Replies
2. UNIX for Advanced & Expert Users
Hi all,
I would like to append list of files to already taken tar backup
file. can anybody help?
last month backup :
cd /accounts/11
tar -cvf monthback.tar *
Now I want to add /accounts/12 to monthback.tar
is it possible?
Krishna (1 Reply)
Discussion started by: krishna
1 Replies
3. Filesystems, Disks and Memory
Hi all & anyone.
I'm trying to selectively backup up some old Apache log files before they are removed from the system (Slackware box).
Have created a file listing of what I want backed up ...Below is a portion of the file ./selectedbkup... (2 Replies)
Discussion started by: Cameron
2 Replies
4. UNIX for Dummies Questions & Answers
Im trying to use tar to backup the os directories. I have a file called bdirs which contains a list of the directories that im trying to backup:
/bin
/dev
/devices
/etc
/export
/home
/kernel
/lib
/local
/mnt
/opt
/platform
/proc
/sbin
start
/usr
/var
/vol (3 Replies)
Discussion started by: blakmk
3 Replies
5. UNIX for Dummies Questions & Answers
Every day we back up all files on our system that are older than 7 days, so effectively we do a day's worth at a time.
The way we do this is to issue a find command using mtime +7 - we then loop round and for each result we issue a MV to move the file to a newly created directory. We then TAR the... (20 Replies)
Discussion started by: tonysab
20 Replies
6. UNIX for Dummies Questions & Answers
I am trying to do a full system backup using tar. It then after maybe 12 or so hours comes up with tar: write error: unexpected EOF. I have thoroughly cleaned the drive and tried to use a different drive but it still gives me this error. Can someone help. I am on solaris 8. (1 Reply)
Discussion started by: TMashie
1 Replies
7. Shell Programming and Scripting
Hello everyone!
I'm trying to make incremental tar archives of a folder for an example. On the box I use is UNIX AIX installed. I tried some sample codes I found on several web pages but with no success. Don't know what I'm doing wrong. Please write some sample code to make incremental tar... (0 Replies)
Discussion started by: Funky_ass
0 Replies
8. Red Hat
Hi all,
i need to backup files on network from RHEL 4 machine
tape drive is installed on solaris 10 machine and want ot use this
using
# tar cv /myfiles |ssh -l myuser myhost 'buffer -o /dev/rmt/0 "
to backup these file but getting getting error " sh buffer not found '
even "buffer-1.19-1"... (2 Replies)
Discussion started by: ajays
2 Replies
9. UNIX for Dummies Questions & Answers
I am backing up some data to an NTFS formatted backup drive. I have to preserve the Unix permissions of the data being backed up and therfore use backup into a tar file.
I would like to backup the differnential data in the tar file similiar to how Rsync works so as to save on backup time as it... (1 Reply)
Discussion started by: jelloir
1 Replies
10. Red Hat
This will be covered elsewhere im sure but i just cant seem to find my exact issue.
I want to backup my systems using tar, command is:
tar -cjpf /backup /bin /etc /home /opt /root /sbin /usr /var /bootWhen i include the / directory it also tar's the /lib /sys /proc /dev filesystems too (and... (8 Replies)
Discussion started by: Tommyk
8 Replies
LEARN ABOUT DEBIAN
gpodder-backup
GPODDER-BACKUP(1) User Commands GPODDER-BACKUP(1)
NAME
gpodder-backup - Backup and restore utility for gPodder user data
SYNOPSIS
gpodder-backup [--create|--extract] <archive.gpo.tar.gz> [options] gpodder-backup --purge
DESCRIPTION
This utility can be used to create a dump of the current gPodder data (configuration files + downloads), optionally replacing the real con-
tents of the download folder with zero-byte files (for submitting your data to a bug report without having to transfer lots of data).
OPTIONS
--version
show program's version number and exit
-h, --help
show this help message and exit
-c <FILE>, --create=<FILE>
Create a new archive
-x <FILE>, --extract=<FILE>
Extract an existing archive
-f, --fake-downloads
Store downloads as zero-byte files in backup
-n, --no-covers
Do not include cover files in archive
-D <DIR>, --destination=<DIR>
Extract downloads in different folder
-P, --purge
Remove current data (can be combined with --extract)
USAGE FOR BUG REPORTING
This command is useful if you want to report a bug in gPodder:
gpodder-backup --create bug123.gpo.tar.gz --fake-downloads
Backup your current data to file bug123.gpo.tar.gz, but don't store download data (create zero-size dummy files instead). You can
then attach bug123.gpo.tar.gz to the bug report.
If you are instructed to try gPodder from a "clean state", you can use the following command (be sure to backup your data before!):
gpodder-backup --purge
Remove all gPodder data, so you can start from a clean state
EXAMPLES
gpodder-backup --create today.gpo.tar.gz
Backup your current data to file today.gpo.tar.gz
gpodder-backup --extract mybackup.gpo.tar.gz
Restore (without purging) the contents of mybackup.gpo.tar.gz
gpodder-backup --extract default.gpo.tar.gz --purge
Remove current data, then restore the contents of default.gpo.tar.gz
gpodder-backup --purge
Remove all gPodder data, so you can start from a clean state
EXTRACTING FAKED DOWNLOADS
Please note that any existing downloads will be overwritten with zero-byte files when using the --extract option of the gpodder-backup
utility with a backup created with --fake-downloads
AUTHOR
gpodder-backup was written by Thomas Perl (thp@gpodder.org)
gpodder-backup 1.0 December 2010 GPODDER-BACKUP(1)