10 More Discussions You Might Find Interesting
1. 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
2. Shell Programming and Scripting
Hi Guys,
I'm very new to bash scripting. Please help me on this.
I'm in need of a backup script which does the ff.
1. If a file is larger than 5GB. split it and tar the file.
2. Weekly backup file to amazon s3 using s3rsync
3. If a file is unchanged it doesn't need to copy to amazon s3
... (4 Replies)
Discussion started by: ganitolngyundre
4 Replies
3. Shell Programming and Scripting
Hello,
Recently, I've started with shell scripting, and decided to write a script for my system backup using tar. When I was dealing with tar execution inside shell script I found this, inside shell we have the following code:
tar $TAR_PARAMS $ARCHIVE_FILE $EXCLUDE $BACKUP_STARTwith... (6 Replies)
Discussion started by: ilnar
6 Replies
4. Shell Programming and Scripting
I have written a shell script to perform backups using tar, rsync and optionally utilise lvm snapshots. The script is not finished but is in a working state and comments/descriptions are poor.
I would greatly appreciate any criticism and suggestions of the script to help improve my own learning... (0 Replies)
Discussion started by: jelloir
0 Replies
5. Shell Programming and Scripting
I have script but not work..
=====================================
#!/bin/bash
# backup
Backup_Dirs="/home/test"
Backup_Dest_Dir=/tmp
Backup_Date=`date +%b%d%y`
#Create Backup
tar cvzf $Backup_Date.tar.gz $Backup_Dirs $Backup_Dest_Dir
======================================
What's... (1 Reply)
Discussion started by: mbah_jiman
1 Replies
6. Shell Programming and Scripting
Hi,
Following is the script I made for backing up Cpanel server.
================================================
#! /bin/bash
rsync -raopguzl --delete --exclude "*.tar.gz" --progress --delete-excluded root@$hostname:/$otherdir/$i/ /mnt/iscsi/$hostname/home/$i
done
... (6 Replies)
Discussion started by: mohitmoudgil
6 Replies
7. UNIX for Dummies Questions & Answers
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 (7 Replies)
Discussion started by: solaris5.10
7 Replies
8. Shell Programming and Scripting
I'm specifically trying to find help or insight on using the --incremental ('-G') option for creating a tar. Please resist the urge to tell me to use --listed-incremental ('-g') option. That's fairly well documented in the GNU tar manual. GNU tar 1.19
This is what the manual does say in section... (0 Replies)
Discussion started by: protienplant
0 Replies
9. 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
10. 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