Backup and restore question


 
Thread Tools Search this Thread
Operating Systems AIX Backup and restore question
# 1  
Old 02-25-2013
[Solved] Backup and restore question

I run a backup sucessfully:
Code:
 find . | backup -ivqf/dev/rmt0

I want to make sure I can restore, so I change to a test directory and try this:
Code:
restore -rvqf /dev/rmt0

However, we fail with this error:
Code:
New volume on /dev/rmt0:
Cluster size is 51200 bytes (100 blocks).
The volume number is 1.
The backup date is: Mon Feb 25 11:36:47 EST 2013
Files are backed up by name.
The user is root.
x            0 .
x        10240 ./testfile1
restore: 0511-138 Cannot write to file ./testfile2.
Restore : A system call received a parameter that is not valid.

Here's the directory listing
Code:
# ls -l
total 2098208
-rw-r--r--    1 root     system        10240 Feb 20 03:00 testfile1
-rw-r--r--    1 root     system   1073741312 Feb 25 12:29 testfile2

testfile1 was restored correctly.
testfile2 original size is 52758169600

Thanks for any help you can offer.
-dog

---------- Post updated at 01:40 PM ---------- Previous update was at 12:42 PM ----------

Both the source directory and the target directory, in this case, is on NFS share on a NAS.

I have a backup process on an AIX 6.1 box that writes files to the NFS share. I would like to backup them up to tape from an AIX 7.1 partition.

To get more information about my problem, I tried copying the files from the source directory to the test restore directory.
Code:
 cp source/* test
cp : 0653-447 Requested a write of 4096 bytes, but wrote only 3584.
cp : 0653-447 Requested a write of 4096 bytes, but wrote only 3584.
cp : 0653-447 Requested a write of 4096 bytes, but wrote only 3584.

Diretciory listing of source directory
Code:
# ls -l
total 237919696
-rw-r--r--    1 root     system        10240  Feb 20 03:00 testfile1
-rw-r--r--    1 root     system   52758169600 Feb 20 03:09 testfile2
-rw-r--r--    1 root     system       286720  Feb 20 03:09 testfile3
-rw-r--r--    1 root     system   37696358400 Feb 20 03:15 testfile4
-rw-r--r--    1 root     system       215040  Feb 20 03:15 testfile5
-rw-r--r--    1 root     system   31300044800 Feb 20 03:21 testfile6
-rw-r--r--    1 root     system       215040  Feb 20 03:21 testfile7
-rw-r--r--    1 root     system          415  Feb 25 12:08 wedbackup.log

Directory listing of restore directory:
Code:
ls -l
total 6296096
-rw-r--r--    1 root     system        10240 Feb 25 13:26 testfile1
-rw-r--r--    1 root     system   1073741312 Feb 25 13:26 testfile2
-rw-r--r--    1 root     system       286720 Feb 25 13:26 testfile3
-rw-r--r--    1 root     system   1073741312 Feb 25 13:26 testfile4
-rw-r--r--    1 root     system       215040 Feb 25 13:26 testfile5
-rw-r--r--    1 root     system   1073741312 Feb 25 2013  testfile6
-rw-r--r--    1 root     system       215040 Feb 25 2013  testfile7
-rw-r--r--    1 root     system          415 Feb 25 2013  wedbackup.log

Thanks for the help...

---------- Post updated at 02:12 PM ---------- Previous update was at 01:40 PM ----------

I changed the max file size by editing the /etc/security/limits file.
retesting...
# 2  
Old 02-25-2013
I have absolutely no experience with AIX, but a post that I read in another thread may be relevant: from AIX & TAR related stuff , specifically the chuser/fsize advice.

Regards,
Alister
This User Gave Thanks to alister For This Post:
# 3  
Old 02-25-2013
works, now

It works much better after changing the max file size. Smilie

Thanks!

Moderator's Comments:
Mod Comment edit by bakunin: changed thread title to "solved".

Last edited by bakunin; 02-26-2013 at 08:04 PM..
# 4  
Old 02-25-2013
Good point!

Good idea on AIX after install is to run this command:

Code:
chuser fsize=-1 cpu=-1 data=-1 stack=-1 core=-1 rss=-1 root

This sets all ulimt settings to unlimited for root in /etc/security/limits
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Backup / Restore

Hi, I need to back up a RH file system (96G). The files are oracle .dbf format some of which are 5G in size. I know that tar has got a size restriction of 2G so I cannot use this. Can anyone recommend an alternative way of backuping up this FS? I have been looking at dump but this... (6 Replies)
Discussion started by: Duffs22
6 Replies

2. AIX

Backup and restore

Hi experts, i got a question. i have a production server with two Volume Group(VG) which are rootvg and datavg. Both of these VGs are 256 PP SIZE. On Disaster Recovery Server (DR server) contains two empty hardisks for restoring rootvg and datavg from production server. This two hardisks are... (7 Replies)
Discussion started by: polar
7 Replies

3. Shell Programming and Scripting

Backup and restore in unix

Hello everybody, i am trying to make a script in UNIX to backup some compressed files to a tape drive. The thing is that i cannot use cpio command because some of these files are greater than 2GB. so i think the only solution left is backup command. to restore the files i should use the... (6 Replies)
Discussion started by: omonoiatis9
6 Replies

4. AIX

How to restore from mksysb backup

system is not booting ... i want to restore from mksysb backup. (2 Replies)
Discussion started by: AIXlearner
2 Replies

5. Solaris

Full backup and Restore

Dear All ; first how are you every body I'm just subscribed in your forum and i hope i found what i searched for along time . I'm not a Solaris specialist but i read more to build a Network Management Station depends on Solaris as OS and it is working good now . my problem is how to perform... (16 Replies)
Discussion started by: Basha
16 Replies

6. HP-UX

Backup Tape Restore?

I am trying to do a restore on a backup tape (DDS2) and am having a little trouble. For one, I dont know how the tape was made, whether is was tar, cpio, dump..etc. Anyone know how to restore a tape without knowing the format of the backup? (5 Replies)
Discussion started by: bake255
5 Replies

7. HP-UX

F-Backup restore

Hello! i have a blank harddrive and a complete tape backup of the workstation. the backup is made with F-Backup. Now my question is: how can i restore my workstation? thanks for every idea! paul tittel hup-si (3 Replies)
Discussion started by: paultittel
3 Replies

8. AIX

Backup and restore

I have several H80 machines, all with AIX 4.3.3. On these machines I have mksysb running for rootvg backups and savevg for non-rootvg backups. I'm trying to get a list of files on the tapes, but I can't seem to do it with tar for the mksysb images. I keep getting the directory checksum errors?... (3 Replies)
Discussion started by: uXion
3 Replies

9. Solaris

Backup / restore

Hi.... everyone could help me to understand how to do a backup of my servers .. operating systems is sun solaris 8 . I have some question about .... 1) Is better backup phisical disk or partition ??? i sow the command is ufsdump 0cfu /expbck/bcksunver/c0t0d0s5 dev/dsk/c0t0d0s5 to... (4 Replies)
Discussion started by: tt155
4 Replies

10. HP-UX

HP-UX Filesystem backup/restore?

:confused: Hi Guys, I'm not new to UNIX but I am new to HP-UX. I have a proven backup and restore procedue using cpio on Solaris, however, the filesystem structure appears to be different on HP. Can anybody help me with the following questions? 1) What is the best method for performing a... (7 Replies)
Discussion started by: mybeat
7 Replies
Login or Register to Ask a Question