10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello, I need to restore some yesterday emails from backup within a 5 hours timeframe
this is a openvz container, backup is made by rsync files to another partition in the same server
I have tried to do this
#!/bin/sh
cd /vz/backup/414/home/smartftp/mail/domain1.com/
for dir in new... (6 Replies)
Discussion started by: cuantica
6 Replies
2. Shell Programming and Scripting
hi all ,
a messages appeared to me when i was checking my /var/adm/messages
and the below code was in it
Oct 6 13:15:21 medprod scsi: /pci@3,700000/SUNW,emlxs@0/fp@0,0/st@w21000024ff305234,7 (st1):
Oct 6 13:15:21 medprod Restoring tape position at fileno=320,... (5 Replies)
Discussion started by: semaan
5 Replies
3. UNIX for Advanced & Expert Users
I have accidently removed a file using the command
rm -r "file.txt" (I have removed it locally !)
I need to restore the file.txt to my existing CVS version.How can I do it ? Please help.
Thank you. :wall: (5 Replies)
Discussion started by: gameboy87
5 Replies
4. Solaris
Hi all,
Can anyone provide me with a site or book that gives detailed information about taking dump of a unix server on a tape and then restoring the server from the dump
Also i want information about migration from old server to new server (solaris 5.6 to solaris 8) (3 Replies)
Discussion started by: asalman.qazi
3 Replies
5. Solaris
Hi Gurus,
I need help. Mine is an Ultra 10 machine running on solaris 7. Problem with solaris 7 is, it can no longer recognize IDE disks greater that 10GB. My workaround is ro use an external SCSI disk since it is recognizable with solaris 7. I backup my filesystems (residing on the IDE... (2 Replies)
Discussion started by: domesat
2 Replies
6. Solaris
Server 1 - Sun Solaris 5.8 sparc SUNW,Sun-Fire-480R with attached DLT tape drive /dev/rmt/0n
Server 2 - Old DG-UX box which has restore command on it compatible with the files on the backyup tape - backed up with dump2
Server 3 - Sun solaris 5.9 sparc SUNW,Sun-Fire-V490 with lots of free space... (4 Replies)
Discussion started by: lindab
4 Replies
7. UNIX for Dummies Questions & Answers
I was recently given the responsibility of the unix box at our work. Without much training, I now have to go back and restore a file from tape. I'm having some trouble with it. I'm getting an error with the blocksize.
The part of the script that does the tar looks like this:
tar cvfX... (11 Replies)
Discussion started by: citrowske
11 Replies
8. UNIX for Dummies Questions & Answers
I had a user run, by accident, the following line command on our UNIX server:
rm -f /usr/*
This apparently deleted some needed files on your system. Having very limited knowledge in UNIX, I thought I would ask the group if anyone knows how I can recover these file?
The version of UNIX is... (3 Replies)
Discussion started by: mikem
3 Replies
9. AIX
I am trying to restore some files from a DLT drive in AIX 4.3 but I am having a few problems. Basically when I try to run the restore command I get the following error:
Cannot read from the specified input.
Please enter the device name when ready
I am the following command for the restore
... (0 Replies)
Discussion started by: The Hunter
0 Replies
10. UNIX for Dummies Questions & Answers
help please
i have "inherited" a Sco Server (the administrator departed in a hurry...yes we are chasing him..) and haven't used Unix for 8 years.
i have a file that i need to retrieve from a tape.
i have been able to find the file on tape using the cpio -ivt command.
however...
the problem I... (3 Replies)
Discussion started by: mfischer
3 Replies
AMSERVERCONFIG(8) System Administration Commands AMSERVERCONFIG(8)
NAME
amserverconfig - program to setup initial Amanda configuration
SYNOPSIS
amserverconfig config [--template template] [--no-vtape] [--tapetype tapetype] [--tpchanger tpchanger] [--tapedev tapedev]
[--changerfile changerfile] [--changerdev changerdev] [--labelstr labelstr] [--mailto mailto] [--dumpcycle dumpcycle]
[--runspercycle runspercycle] [--runtapes runtapes] [--tapecycle tapecycle] [--help]
DESCRIPTION
After Amanda rpms are successfully installed, amserverconfig will setup initial Amanda configuration files. It will create
/var/lib/amanda/guntar-lists directory if one does not exist. amserverconfig does not change existing Amanda configurations.
amserverconfig must be run by user amandabackup.
OPTIONS
Options may be abbreviated, as long as the abbreviation is not ambiguous. Option argument can either separated by '=' or a space. Example:
--templ=harddisk --tapedev /dev/nst0
amserverconfig builds a new "config" Amanda configuration. Customize the configuration with the options below.
--template template
build Amanda configuration with pre-configured template files. Currently, harddisk, single-tape, tape-changer and S3 are the valid
inputs for this option. Pre-configured template files can be found in /var/lib/amanda/template.d. This option may be combined with
other options.
If tape-changer is chosen for this option, program mtx is required. amserverconfig will search for mtx in the following directory:
"/usr/sbin", "/usr/local/sbin", "/usr/local/bin", "/usr/bin", "/bin" and amandabackup's PATH.
If harddisk is chosen and --no-vtape is not specified, amserverconfig will create and label virtual tape
file://var/lib/amanda/vtapes/$config.
--no-vtape
Do not create virtual tapes in the harddisk template case.
--tapedev tapedev
The path name of non-rewinding tape device. default [file://var/lib/amanda/vtapes/$config]
--tpchanger tpchanger
The name of the tape changer. default [chg-disk]
--changerdev changerdev
A tape changer configuration parameter. default [/dev/null]
--changerfile changerfile
A tape changer configuration parameter. default [/etc/amanda/$config/changer.conf]
--labelstr labelstr
The tape label constraint regular expression. default [^$config-[0-9][0-9]*$]
If this option is used with --template=harddisk, only alphanumeric string is supported.
--tapetype tapetype
The type of tape drive associated with tapedev or tpchanger. default [HARDDISK]
--mailto mailto
A space separated list of recipients for mail reports. default [amandabackup]
--dumpcycle dumpcycle
The number of days in the backup cycle. default [1week]
--runspercycle runspercycle
The number of days in the backup cycle. default [5]
--runtapes runtapes
The maximum number of tapes used in a single run. default [1]
--tapecycle tapecycle
The size of tape rotation. default [25]
--help
Display usage.
FILES
/var/lib/amanda/template.d
Amanda configuration template files install location
/var/lib/amanda
amandabackup home directory
/var/lib/amanda/gnutar-lists
A directory which contains backup timestamp and list of files backed up.
/etc/amanda/$config
Amanda configuration files location for $config(e.g: DailySet1).
/etc/amanda/template.d
A directory contains dumptypes and tapetypes files used by all Amanda configurations.
/etc/amandates
Amanda file on the client. It keeps track of structures of previous dumps.
/tmp/amanda
directory contains Amanda debug log files.
RETURN VALUE
On success, zero is returned. On error, 1 is returned.
SEE ALSO
amanda(8), amanda.conf(5), amaddclient(8)
The Amanda Wiki: : http://wiki.zmanda.com/
AUTHOR
Kevin Till <kevin.till@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Amanda 3.3.1 02/21/2012 AMSERVERCONFIG(8)