I have a CentOS server running with backup made to an external HDD.
I run a full backup everyday at 4am and incremental backups every 2 hour.
Using Lubuntu's default Backup program (front end for deja-dup),scheduled backups do not run but manual ("backup now") ones do.
The scheduled backups terminate with a notification that the backup destination is unavailable.
I think this is an inaccurate error message because when I run the program manually, it asks for the encryption password, then goes ahead and does the job.
I currently have a Deja Dup Backup utility in Ubuntu 12.04 to run scheduled backups every day but the backup never runs. The Overview tab always reports "Most recent backup: n days ago" and "Next automatic backup: Today". I can run a backup on demand no problem so as far as I can tell it's not a network availability issue or a permissions issue. It just appears not to run on schedule.
I'm running a bash script on an ubuntu 12.04 through cron. The script works fine for a few weeks (runs daily backups of websites, mysql databases, and copies to Amazon S3).
However, twice now I've noticed that backups stopped happening. Both times the backup script (backupscript.sh) located in my home folder was no longer there.
My Bash-Script should accept arguments and options.
Moreover arguments and options should be passed to another script.
The second part I've solved:
for argument in "$@"; do
options $argument
done
another_script $ox $arguments
function options {
case "$1" in
-x) selection=1
-y) selection=2
-h|--help) help_message;;
-*) ox="$ox $1";;
*) arguments="$arguments $1";;
esa
Hi,
I have a script that is scheduled with cron and runs every night. The cron part looks like this:
Code:
00 20 * * 0,1,2,3,4,5,6 /usr/local/bin/BACKUP TBTARM HOT DELETE
My issue is with the 3rd parameter.
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Execute command with integer list arguments such as myScript 8 7 2 3.
Take those arguments and square all of them one by one, each iteration print out the result.
Being new to Ubuntu I try to avoid any install without looking for problems others have experienced. The upgrade to 12.04 seems to have had quite a few users experience problems. Do these generally get resolved or are they sometimes bugs? Is there an approach that can be used to determine the impact on particular applications, or a list of known problem apps?
I found a script that can delete files over X days old and changed it a bit so that i will scan different network folders to see if there are files that are older than X days. Now when i run the script with PowerShell ISE the script is working fine and doing what it should do.