This will be covered elsewhere im sure but i just cant seem to find my exact issue.
I want to backup my systems using tar, command is:
When i include the / directory it also tar's the /lib /sys /proc /dev filesystems too (and more but these seem to be problem directories.)
Although i have never tried to restore the /sys /proc and /dev directories I have not seen anyone mention that your cant restore /lib but when i tried the server crashed and would not even start the kernel (not even in single user mode).
Can anyone let me know why this happened and provide a more comprehensive list of directories than the 4 mentioned as to what should and shouldn't be backed up and restored? Or point me to a useful site that might explain why you should or shouldn't backup each one?
I backed up a unix database using
"tar -cvf /dev/rmt1 -N 800 /*"
Normally I would restore this using
"tar -xvf /dev/rmt1 -N 800"
This is reporting an error about
"not enough memory"
I have done a new test backup and restore using the same commands and they work.
ANY IDEAS ? (2 Replies)
I created a relative backup of my home directory using tar into a file named backup.tar.
No problem there.
I checked it out using the table of contents command to list the contents of the backup.tar file, and there is no problem there either.
But, when I tried restoring backup.tar into a... (2 Replies)
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)
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)
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)
Hi,
Can anyone tell me the right TAR command to restore
all the files dirs/subdirs/files etc. to a given directory on my hdd from a TAPE drive?
I already used the list function to see that there is data on it with this commando:
# tar tf /dev/st0
Now I need to copy all the data to a... (1 Reply)
hi people i am in need of some assistance here hoping to star a linux course in january to wanted to get some experiance before starting so got a hold of some old assessments from a mate at college so just working through them in my spare time for the past 8 weeks or so and this is the final ? that... (2 Replies)
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)
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
LEARN ABOUT OPENSOLARIS
ndmp
ndmp(4) File Formats ndmp(4)NAME
ndmp - configuration properties for Solaris Network Data Management Protocol (NDMP) server
DESCRIPTION
The behavior of the Solaris NDMP server is specified by property values that are stored in the Service Management Facility, smf(5).
An authorized user can use the ndmpadm(1M) command to set global values for these properties in SMF.
You can set the following properties by using the ndmpadm set command:
backup-quarantine Backup the files marked as quarantined by AV. Acceptable values are yes or no. The default is no.
dar-support Set the Direct Access Recovery mode. Acceptable values are yes or no. The default is no.
debug-level Set the debug level. The debug-level can be set to either 0 (off) or 1 (on). The default is 0.
debug-path The path to which to save the debug log. The default is /var/ndmp.
dump-pathnode Enable or disable backing up the directories containing modified files or directories in dump(1) backup format.
Acceptable values are yes or no. The default is no.
ignore-ctime Determines whether the change timestamp (ctime) of files and directories is used to determine whether a file should
be backed up in level backup. If this parameter is set to yes, only the modification time (mtime) of the file or
directory determines whether it should be backed up. Acceptable values are yes or no. The default value is no.
overwrite-quarantine Restore quarantined files on top of current files if they already exist. Acceptable values are yes or no. The
default value is no.
restore-quarantine Restore the files that had been marked as quarantined by AV and are backed up. Acceptable values are yes or no. The
default value is no.
tar-pathnode Enable or disable backing up the directories containing modified files or directories in tar(1) backup format.
Acceptable values are yes or no. The default value is no.
token-maxseq Set the maximum sequence number for subsequent token-based incremental backup in NDMP-V4. The default value is 9.
There are two limits for this value: soft-limit, which is 59, and hard-limit, equal to 64. If the token sequence
number, passed by the DMA, is between the soft and hard limits, a warning message is issued to the DMA. The token
sequence number can never exceed the hard-limit value.
version Set the maximum active NDMP protocol version. Valid values are currently 2, 3, and 4. The default is 4.
The following property can only be set when using the ndmpadm enable or ndmpadm disable command:
auth-type Sets the password encryption type for the authentication of local users. Valid values are cram-md5 or cleartext.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWndmpu, SUNWndmpr |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
SEE ALSO dump(1), tar(1), ndmpadm(1M), ndmpd(1M), attributes(5), smf(5)SunOS 5.11 3 Mar 2009 ndmp(4)