10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I have been working on script in which search and replace the multiple pattern.
1. update_params.sh read the multiple pattern from input file ParamMapping.txt(old_entry|New_entry) and passing this values one by one to change_text.sh
2. change_text.sh read... (0 Replies)
Discussion started by: ketanraut
0 Replies
2. UNIX for Dummies Questions & Answers
I want to create a tar file that backup all my recent work. I have no idea how Tar file works and I am new to Unix Please help (1 Reply)
Discussion started by: GGBEASTBOI
1 Replies
3. Shell Programming and Scripting
Im a fairly new linux user and im trying to learn how to do a backup shell script. i have this so far,
#! /bin/bash
backup_files="/home/clint/music"
dest="home/clint/backups'
day=$(date +%A)
hostname=$(hostname -s)
archive_file="$hostname-$day.tgz"
tar czf $dest/$archive_file... (2 Replies)
Discussion started by: thatdudeman
2 Replies
4. UNIX for Advanced & Expert Users
I am trying to backup my .bash_history and I want to keep every version of the backup. I am thinking to put one of these in my crontab.
0 0 * * 0,3 cat .bash_history > boo
0 0 * * 0,3 cp .bash_history boo
I would like the backups to be called boo1, boo2, boo3, etc. I would like to keep... (7 Replies)
Discussion started by: cokedude
7 Replies
5. Solaris
I know how to check if any file has a unix process using a file by looking at 'lsof <fullpath/filename>' command.
I think using lsof is very expensive. Also to make it accurate we need to inlcude fullpath of the file.
Is there another command that can tell if a file has a truely active... (12 Replies)
Discussion started by: kchinnam
12 Replies
6. Shell Programming and Scripting
Hi,
Another rookie here.
I have a script I am developing to backup files from various directories onto a windows machine.
Script description:
- mv files from various directories
- tar all files in that directory
- export to windows server for safe keeping, external backups.
The... (5 Replies)
Discussion started by: mcclunyboy
5 Replies
7. Shell Programming and Scripting
hi all,
Please help me with rsync.
I configured rsync to preserve timestamps using the -a option.
When i renamed fileA to fileB on source machine I have to copies at the backup server.
The aim is to keep the most recent file.
fileA & fileB has same contents.
When i renamed fileB to... (2 Replies)
Discussion started by: coolatt
2 Replies
8. Shell Programming and Scripting
Hiii,
Here is the part o fmy script-
for file in $FileList
do
if ];
then
echo "Skips $file file. It is todays file"
if ];then
cp $file $BackupLocation 2>/dev/null
... (3 Replies)
Discussion started by: namishtiwari
3 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I performed backup on tape and I want to append more files to my previous backup on the same backup tape. But before I do that I need to know the backup file size of the first backup I performed so that I know the available size on the backup tape. Can someone help me what command I will use... (0 Replies)
Discussion started by: ayhanne
0 Replies
10. AIX
Dear All,
I have 200GB mount point, but i have only 94GB files. i am taking this files as a tar with gzip backup. but my problems is if this files will be Reach 150GB or more what can i do?
Please advice me
can i use tar backup or any other tool for the backup.
thanks in... (5 Replies)
Discussion started by: rkgali
5 Replies