03-28-2008
That did not work, then i just came to think of. I am using bsdtar and not gnutar.
I installed gnutar and now it worked like a charm.
Thank you!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I have a tar archive full of compressed .Z (compressed with the compress command) files. I have restored the tar to a disk but am looking for a way to uncompress every file in every sub-directory. Under normal circumstances, I would just change directories and "uncompress *" but with 1600... (3 Replies)
Discussion started by: Kun2112
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I want to archive below directories
ex: /home/oracle/ddd0
/home/oracle/ddd1
/home/oracle/ddd2
I want a command(tar) which will let me archive the above directories excluding *.dmp(dump files), *.log(log files) in those directories.
So the archived file doesn't have... (4 Replies)
Discussion started by: dreams5617
4 Replies
3. UNIX for Dummies Questions & Answers
hey
how do you create a archive and add file to an existing archive.
i keep getting an error: dir/#: No such file or directory
currently using tar -cvfu name.tar files
files searching from a word document each line having different file extention.
Thanks in advance (1 Reply)
Discussion started by: nookie
1 Replies
4. Shell Programming and Scripting
Hi,
I make a tar archive:
tar -czvf /path_to/cucu.tar.gz /path/dir_to_archive/
In the archive the /path/dir_to_archive/ is maintained for every file.
I need that the archive to be made without the /path/dir_to_archive/ to contain only the files in /path/dir_to_archive/.
Thanks,... (4 Replies)
Discussion started by: potro
4 Replies
5. Shell Programming and Scripting
Hello,
I have a problem using Archive::Tar. it seem very trivial but i cannot get it work.
First I have a list of files I grab from a directory. Then I create a tar archive and write the files into the archive. everything works great, except that I cannot properly extract the files.
What... (0 Replies)
Discussion started by: amcrisan
0 Replies
6. Linux
I have made tar archive of my system.. How can I make that tar archive to be bootable.. simply to install new linux from the archived tar file.. thanks in advance (8 Replies)
Discussion started by: Vit0_Corleone
8 Replies
7. Solaris
Hello Admins,
I am facing an issue with ustar tar archive on solaris 10.
By mistake I have created ustar tar archive of /var/adm/messages file on solaris10.
I am trying to untar the /var/adm/messages file . but I am not getting the original text messages file.
I user tar -xvf ... (4 Replies)
Discussion started by: snchaudhari2
4 Replies
8. UNIX for Dummies Questions & Answers
I would like to confirm my file.tar is been tar-ed correctly before I remove them. But I have very limited disc space to untar it.
Can I just do the listing instead of actual extract it? Can I say confirm folder integrity if the listing is sucessful without problem?
tar tvf file1.tar
... (1 Reply)
Discussion started by: vivien_chu
1 Replies
9. Shell Programming and Scripting
HI
Please suggest how to untar archive on remote sever. When im trying use regular command without any flags everything working fine:
$( ssh <user>@<server> -n '. ~/.profile >/dev/null 2>&1 ; cd /path_1 ; copiedIVR_name=`ls -tr | tail -1` ; tar xvf $copiedIVR_name ' )
but i have to ... (1 Reply)
Discussion started by: BACya
1 Replies
10. UNIX for Dummies Questions & Answers
HI All
Please suggest how to untar archive on remote sever. When im trying use regular command without any flags everything is working fine:
$( ssh <user>@<server> -n '. ~/.profile >/dev/null 2>&1 ; cd /path_1 ; copiedIVR_name=`ls -tr | tail -1` ; tar xvf $copiedIVR_name ' )
but when im... (9 Replies)
Discussion started by: BACya
9 Replies
LEARN ABOUT CENTOS
amserverconfig
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.3 01/10/2013 AMSERVERCONFIG(8)