Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

how i can take backup of file on UNIX-AIX ?

share|improve this question

closed as off-topic by masegaloeh, HBruijn, Andrew Schulman, Katherine Villyard, mdpc May 22 at 0:40

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

4 Answers 4

up vote 1 down vote accepted

Depends what you mean. Backing up a file could be as simple as copying it somewhere else.

cp myfile /my/backups/myfile.bak
share|improve this answer

if you want to make a backup copy for a list of files:

prompt> # backup -ivf /dev/rmt0 file1 file2 file3 ...

if you want to backup a filesystem:

prompt> # backup -0 -u -f /dev/rmt0 / ( or any other filesystem )

later you´ld restore them using the restore command.

share|improve this answer

There's 2 included ways of backing up a file in AIX, the "backup" command, and the Unix standard "tar" command.

To backup a file with tar run:

tar cvf /tmp/backup.tar ./path/to/originalfile

To restore the contents of the tar file back to the original location run:

cd /
tar xvf /tmp/backup.tar
share|improve this answer

dump/restore if you use tape. Otherwise use tar. Bacula and Amanda automate backup, But need time for their adjustment and learning.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.