09-14-2008
yes - ownership is retained as well.
see the backup and restore man pages for detail
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am very new to Unix. We have a Unix workstation that is on a tape backup system setup by an external consultant. However, I need to know how to verify that the backup is actually running and backing up actual data.
When I checked earlier this week, the log file had listed the folllowing:
... (2 Replies)
Discussion started by: lsnapp
2 Replies
2. AIX
Hello,
Last night I applied a DB2 fix pack which is now causing problems with the application that uses db2. Prior to applying the fix pack I did a mksysb(rootvg) which includes the file system that has db2 installed on it. If I do a restore from this will it restore the db2 version back to... (1 Reply)
Discussion started by: jyoung
1 Replies
3. AIX
Hello
I need to make a mksysb, I try with smitty but I get the next message
0512-017 mksysb: Cannot write to the device /dev/rmt3.
Either write protected or in use.
My tape are ready to write ( dont get protection)
I use the clean tape
and I try with other tapes but I... (6 Replies)
Discussion started by: lo-lp-kl
6 Replies
4. AIX
Hi All,
1. I have many AIX system here but none of them has any CD writer. I want to buy external CD writer so I can move around when needed. Can some one tell me which one they have. Please let me know exact model number so it will be easy for me to order it. I tried going to IBM web site,... (4 Replies)
Discussion started by: samnyc
4 Replies
5. AIX
Hi All!
I'm rather new in AIX so I want some comments about backup scheme I've developed to backup every part of the system. I have the following hardware:
- Power6 570 server with two VIO server and 3 LPARs
- NIM server outside (on the other Power server)
- Windows 2003 Server with Tivoli... (2 Replies)
Discussion started by: kogor
2 Replies
6. AIX
Hello everyone
I have a question.
Its possible to type smitty mksysb using sudo ?
I have a partition and install sudo I create a user for use sudo.
I make a test with sudo and command line for the mksysb and its ok
sudo mksysb -i /dev/rmt0 and I can make my mksysb.
My question... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies
7. Solaris
Hi all.
There are some SPARC mashines. What method can be made from them backup (slices or entire disk) in field conditions if I have only the laptop with win xp pro and the internet? (5 Replies)
Discussion started by: wolfgang
5 Replies
8. Shell Programming and Scripting
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)
Discussion started by: MVEERA
0 Replies
9. AIX
I run a backup sucessfully:
find . | backup -ivqf/dev/rmt0
I want to make sure I can restore, so I change to a test directory and try this:
restore -rvqf /dev/rmt0
However, we fail with this error:
New volume on /dev/rmt0:
Cluster size is 51200 bytes (100 blocks).
The volume number is... (3 Replies)
Discussion started by: landog
3 Replies
10. UNIX for Advanced & Expert Users
Hi All,
Im new in aix, anyone can advice is there any way to understand smitty ?:confused:
Thanks.
TCP. (4 Replies)
Discussion started by: tcp01315
4 Replies
backup(1M) backup(1M)
NAME
backup - backup or archive file system
SYNOPSIS
[-archive]
DESCRIPTION
The command uses find(1) and cpio(1) to save a archive of all files that have been modified since the modification time of on the default
tape drive should be invoked periodically to ensure adequate file backup.
The option suppresses warning messages regarding optional access control list entries. backup(1M) does not backup optional access control
list entries in a file's access control list (see acl(5)). Normally, a warning message is printed for each file having optional access
control list entries.
The option causes backup to save all files, regardless of their modification date, and then update using touch(1).
prompts you to mount a new tape and continue if there is no more room on the current tape. Note that this prompting does not occur if you
are running from cron(1M).
The option causes to start a file system consistency check (without correction) after the backup is complete. For correct results, it is
important that the system be effectively single-user while is running, especially if is allowed to automatically fix whatever inconsisten-
cies it finds. does not ensure that the system is single-user.
You can edit to customize it for your system. Several local values are used that can be customized:
specifies which directories to back up recursively (usually
meaning all directories);
file name where start and finish times, block counts, and error messages
are logged;
file name whose date is the date of the last archive;
file name that is checked by
to remind the next person who logs in to change the backup tape;
file name where start and finish times and
output is logged.
You may want to make other changes, such as whether or not does automatic correction (according to its arguments), where output is
directed, other information logging, etc.
In all cases, the output from is a normal archive file (or volume) which can be read using with the option.
File Recovery
creates archive tapes with all files and directories specified relative to the root directory. When recovering files from an archive tape
created by you should be in the root directory and specify the directory path names for recovered files relative to the root directory When
specifying the directory path name for file recovery by do not precede the leading directory name with a slash. If you prefer, you can
also use with a option to determine how files and directories are named on the archive tape before attempting recovery.
WARNINGS
Refer to in cpio(1).
When runs out of tape, it sends an error to standard error and demands a new special file name from
To continue, rewind the tape, mount the new tape, type the name of the new special file at the system console, and press
If is being run unattended from cron(1M) and the tape runs out, terminates, leaving the process still waiting. Kill this process when you
return.
FILES
parameterized file names
SEE ALSO
cpio(1), find(1), touch(1), cron(1M), fbackup(1M), frecover(1M), fsck(1M), acl(5).
backup(1M)