03-05-2004
creating log files for a backup script on solaris
I have a simple backup script that I am running to back up drives across the network. However I need to have detailed log files for this script such as time backup started, what was backed up, if there were any errors and the time that the backup was complete. I would also like the script to email me to tell me whn its done. Does anyone know of a refernce online that I could find out how to do this or if anyone here that can help that would be great. Thanks.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi all,
very urgent need backup script on tape using solaris 8, my tape drive is DAT 72 on sun v240.
i need a simple script to backup files from directory /data/log/back/200703/filename.log. the files will backup continue each day on the tape which have 72 GB. the files size only 50MB and... (0 Replies)
Discussion started by: bucci
0 Replies
2. UNIX for Advanced & Expert Users
Hi All ,
We usually tend to use rm -f or rm -rf commands to delete files and directories in UNIX based Systems. But despite of utter care while deletion, there is high possibility that some of important files get deleted by mistake (as in the case of rm -f *).
So , one way to avoid this... (5 Replies)
Discussion started by: swapnil.nawale
5 Replies
3. Solaris
Hello, I'm Antony, new solaris user.
I need to back-up an old solaris disk.
Currently I have installed the Open Solaris operating system on my computer and a USB device I tried to read data on a hard drive with an older version of Solaris, when i try to open the device the operating system tells... (11 Replies)
Discussion started by: legoinario_67
11 Replies
4. Solaris
Hi,
I want to take backup of files older than 20 days from a directory onto a tape drive on remote machine on Solaris.
The files are of format abc-20100301000000.gz on my local machine.
I know the below commands for searching files older than x days and command for backup procedure.
solar1 #... (7 Replies)
Discussion started by: jyothi_wipro
7 Replies
5. Shell Programming and Scripting
Hi
I would like to create a log file to track the execution of my script.
Example, if there were any errors, if it passed or failed etc.
How do I go about doing this.
My log file will be saved to this location: /var/log/import.log
How do I specify the directory?
I have been... (1 Reply)
Discussion started by: ladyAnne
1 Replies
6. Shell Programming and Scripting
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)
Discussion started by: javeedkaleem
7 Replies
7. Shell Programming and Scripting
I am trying to FTP files to a Windows server through my Linux machine. I have setup the file transfer with no problems but am having problem deleting those files from the Linux box. My current non-working solution is below. Any ideas, anyone?? :wall: Please be gentle, I'm fairly new to this... (4 Replies)
Discussion started by: jmalfhs
4 Replies
8. Solaris
Hi all,
Which are main files to copydor DR backup in Solaris?
I have copied bewo files, is there anything else that is needed to be copied any directires as well, Please suggest.
Will following files backup will do the job for building new server exactly like the original one..?
... (0 Replies)
Discussion started by: manalisharmabe
0 Replies
9. UNIX for Advanced & Expert Users
Hi
I am new to Linux / scripting language. I need to improve our Linux servers at work and looking to claim some space my deleting log files/ folders on a 5 day basis.
Can someone help me with creating a script to do so.
Any sample script will be helpful.:b:
Regards (2 Replies)
Discussion started by: sachinksl
2 Replies
10. Solaris
Hi,
I am very new to scripting. I need to create a script which does following.
Scenario:
First get the format command output echo | format
Insert the new disk to Solaris Server
Get Zpool status
format the new disk
( Here I need to select the new disk which have been inserted, I do... (1 Reply)
Discussion started by: praveensharma21
1 Replies
DKOPP(1) Dkopp man page DKOPP(1)
NAME
Dkopp - copy files to DVD or BD (Blue-ray) media
SYNOPSIS
dkopp [ -job | -run ] jobfile
dkopp [ -nogui ] -script scriptfile
DESCRIPTION
Dkopp copies files to backup DVD or BD media. It supports full
or incremental backups and full or incremental media verification.
OVERVIEW
Dkopp is a menu-driven GUI (GTK) program operating in its own window.
Dkopp copies files and directories specified in a job file to DVD or
BD media. Dkopp can copy all files to empty media (full copy), or
only new and modified files to previously used media (incremental).
Files and directories to include or exclude can be selected from the
file system hierarchy using a GUI navigator. Specifications are saved
in a job file which can be re-edited and re-used. Script files can
be run in batch mode using the -nogui option. Dkopp can be used to
select and restore files previously copied, and owner and permission
data is also restored. The DVD/BD media can also be accessed with
file system tools like Nautilus.
Dkopp supports the following functionalities:
- Three backup modes: full, incremental, accumulate.
- Three media verification modes: full, incremental, thorough.
- Use write-once or re-writable DVD or BD media (but not CD).
- Report disk:backup differences in detail or summary form.
- Select and restore files from a backup copy (or use drag and drop).
- Search log files to find media where specified files are saved.
OPTIONS
Command line options:
[ -job ] jobfile open job file for editing
-run jobfile execute a job file
[ -nogui ] -script scriptfile execute a script file
SEE ALSO
The online user manual is available using the menu Help > contents.
This manual explains Dkopp operation in great detail.
Dkopp uses the batch programs grwoisofs and genisoimage.
Dkopp is essentially a GUI front-end for these programs.
AUTHORS
Written by Mike Cornelison <kornelix2@googlemail.com>
Linux 2010-10-01 DKOPP(1)