I'm not sure if this is the place to ask this question but I have a script on an IBM RS6000 that has quit working. I can manually run a backup using SMIT and it appears okay, but not sure about the script.
----------code------------
#!/bin/ksh
#set -x
echo backup beginning
date
find... (7 Replies)
Hi,
My SCO Unixware 7.1.1 box is setup to run an EOD backup script, which is as follows:
----------------------------------------------------------------------
start End-of-day
compress $BASE TO /home/compdir
write /home/compdir to DATTAPE
end
... (0 Replies)
Hello folks.
Good Day!
i want to backup /var/www directory backup to another system daily basis incremental backup and weekly full backup. Directory name where it should automatically created like 2010-04-20 i mean via script. Can some one help? (7 Replies)
Hi,
I need to write a script that will capture the 8th character on each line (alphanumeric /meta chars) to the 16th character and send to an output file. Any ideas?
R,
D. (3 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 all
i am struggling in creating a restore of env files while doing applications clone.
the first file i created for copying the important configurations file
which is running perfect
now for reverting the changes i mean when i am restoring these files to its original places
i have to do... (7 Replies)
Hello everyone,
I have 2 questions :
1) I have a backup shell script, let's call it backup.sh, that is called every hour as a cron job.
As a matter of fact a backup could last more than one hour.
It mounts a NAS and then do some rsync on important directories, so really I don't want to... (2 Replies)
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)
Hello All,
I need immediate help in creating shell script to call archivebkup.ksh script when archive file system capacity reaches threshold value or 60%
Need to identify the unique file system that reaches threshold value.
ex:
capacity
... (4 Replies)
I have write the following script, its execution i got following error:
!/bin/sh
#
#
dy='date +%d%b%y'
hn="ECTMPROD12"
bk='/home/backup'
sb=$bk'/'$hn
#
#
cm_d01='tar -czf /home/backup/'$hn'_'$dy'_ofhome.tar.gz /home/oracle/ofhome'
#
#
echo "***** start time of ECTMPROD12 backup full"... (3 Replies)
Discussion started by: rizwan.shaukat
3 Replies
LEARN ABOUT DEBIAN
backup.d
BACKUP.D(5) backupninja package BACKUP.D(5)NAME
BACKUP.D - Action configuration files for backupninja(1).
SYNOPSIS
/etc/backup.d/*
DESCRIPTION
To preform the actual backup actions, backupninja processes each action configuration file in /etc/backup.d according to the file's suffix.
.sh run this file as a shell script.
.rdiff backup action for rdiff-backup.
.dup backup action for duplicity.
.maildir backup action for slow, incremental rsyncs of tens of thousands of maildirs.
.mysql backup action for safe MySQL dumps.
.pgsql backup action for safe PostgreSQL dumps.
.sys backup action for general system reports and hardware information.
.svn backup action for safe backups of subversion repositories.
.trac backup action for safe backups of trac repositories.
.makecd backup action for burning backups to CD/DVD or creating ISOs.
These files must be owned by root and must not be world or group readable/writable. Support for additional configuration types can be added
by dropping bash scripts with the name of the suffix into /usr/share/backupninja.
The configuration files are processed in alphabetical order. However, it is suggested that you name the config files in "sysvinit style."
For example:
10-local.pgsql.disabled
15-runthisfirst.sh
20-runthisnext.mysql
90-runthislast.rdiff
Typically, you will put a '.rdiff' config file last, so that any database dumps you make are included in the filesystem backup. Action con-
figurations which end with .disabled are skipped.
Example templates for the action configuration files can be found in /usr/share/doc/backupninja/examples. You can also use ninjahelper(1),
a console based "wizard" for creating backup actions.
SCHEDULING
By default, each configuration file is processed everyday at 01:00 (1 AM). This can be changed by specifying the 'when' option in a backup
action's config file or in the global configuration file. Special value 'manual' will disable scheduling for the backup action. It is pos-
sible to run the backup action manually by invoking ninjahelper(1) with --run command line argument.
For example:
when = sundays at 02:00
when = 30th at 22
when = 30 at 22:00
when = everyday at 01
when = Tuesday at 05:00
when = hourly
when = manual
These values for "when" are invalid:
when = tuesday at 2am
when = tuesday at 2
when = tues at 02
A configuration file will be processed at the time(s) specified by the "when" option. If multiple "when" options are present, then they all
apply. If two configurations files are scheduled to run in the same hour, then we fall back on the alphabetical ordering specified above.
The "when" must occur before any sections in the action configuration file.
FILE FORMAT
The file format of the action configuration files is "ini style." Sections are created by using square bracket. Long lines are connected
with a backslash. For example:
# this is a comment
[fishes]
fish = red
fish = blue
[fruit]
apple = yes
pear = no thanks
i will not have a pear.
SEE ALSO backupninja(1), ninjahelper(1), backupninja.conf(5),
AUTHOR
BACKUPNINJA was written by the riseup.net collective.
riseup October 10, 2005 BACKUP.D(5)