Rsync is not exiting, you're sure? Did you just try and put an echo behind the rsync statement? Maybe an echo $? to check what exit code it has. Also maybe add a -v to rsync to see more of it.
Also please use [ code ] tags when posting scripts, data, logs etc. ty.
BUt it hangs after this. One strange thing. As soon as I press ctrl+C it start with another user. For termination of script I have to press ctrl+C thrice
So may be it is not existing properly and going to next user automatically.
I have a backup script which will tar some of folders and scp to the tape drive. Now is i run the script manually it creates a bakup of 2.8 Gb if i crontab the same script every day its creating a back up of just 38 Mb.. most of the dirs are not there at all..
Please help.....
First, you've hijacked a thread rather than starting your own. Second, you haven't provided enough information for anyone to help.
It's possible that it's related to environment. The cron environment is not the same as a user profile when you are logged in. However, that's just a shot in the dark. Tell us what your script is, what you are trying to back up, what your system is and the remote system (presuming from scp) and tape drive. Provide enough detail and explanation and someone should be able to help. Or you might answer it yourself.
HI all, im new to shell scripting. need your guidence for my script. i wrote one script and is attached here
Im explaining the requirement of script.
AIM: Shell script to run automatically as per scheduled and backup few network devices configurations. Script will contain a set of commands... (4 Replies)
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)
Hi I am using Ubuntu back up program to the back up automatic.
Problem is that recently the app start to fail.
I get the following message:
Traceback (most recent call last):
File "/usr/bin/duplicity", line 1359, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1342,... (1 Reply)
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)
I had an idea of very-very easy bacup script that packs ALL of the files in current dir (including the subfulders and with spaces in name), packs them with tar+gz and moves to a directory. I'm using Cywin under WinXP.
But I have a problem with tar. When I do in a single line
"tar -rf... (2 Replies)
We have an older HP Unix 10.20 system that we rarely ever use anymore. Most of our jobs on it are from 1994 to 2002. Anything after that is on Windows XP. The Unix system was backed up religiously every day. Because of space constraints some of the jobs were removed from the system after a... (3 Replies)
Hi. Can someone please tell what the following tape error message means:
Read end of medium on output
If you want to go on, type device/file name when ready
This message comes after the terminal displays a few files from the directory I'm trying to backup.
The command I'm running is:
... (1 Reply)
I tried backing up my mailserver on my nsrhost using solstice backup 5.5.1 software. After creating the usual custom settings, and starting the backup procedure using the group control button, backup initializes but the group backup becomes suspended.
When i click on the details radio button in... (4 Replies)
I am running my solstice backup 5.5.1 server on a solaris 2.6 platform.
I have a remote client ; my mailserver also running solaris 2.6.
I created a unique pool and group for my mailserver, but when i label to pool, mount and run backup, it doesnt backup my mailserver, rather it gives me error... (10 Replies)
Hi all
what may be the cause when i try to restore the backup (TAR)
It's giving error
tar block size =1
directory checksum error
please suggest as soon as possible
try n learn
praful (4 Replies)