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

10,396

Solution 1

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

cp myfile /my/backups/myfile.bak

Solution 2

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

Solution 3

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

Share:
10,396

Related videos on Youtube

coderlearner
Author by

coderlearner

Updated on September 17, 2022

Comments

  • coderlearner
    coderlearner over 1 year

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