10-13-2013
[Solved] TSM restore - how to exclude one subdirectory
I have a large filesystem - 500GB, with around 750,000 files which I need to restore using TSM.
There are about 15 subdirectories, one of which does not need to be restored.
The subdirectory to be excluded has about half the total number of files - 350,000, so it is very inefficient to simply restore the whole filesystem.
And because of the large number of files in the filesystem, it is painfully slow to restore each subdirectory one by one.
I just can't find any information about how to tell TSM to restore the whole filesystem but exclude one (or more) subdirectory.
Would be very grateful if anyone can come up with a solution to this.
Thanks, Alan.
8 More Discussions You Might Find Interesting
1. AIX
Hey all,
I've just about had it with Tivoli Storage Manager. I won't go into the what's and why's. Do any of you have suggestions for an alternative?
We have around 70 linux clients and 10 AIX lpars. We mostly do incremental filesystem backups each night and have a 3494 tape library with 3... (2 Replies)
Discussion started by: cruiser
2 Replies
2. Linux
Hello, i was trying to install tsm client on a linux box(i386)
I get asked for a lot of dependent filesets. I dont have the cd? how can i get these?? is there a way to copy these from a server which has it? and how do i check if a server has it? rpm -qa|grep fileset??
pls advice
# rpm -ivh... (4 Replies)
Discussion started by: karthikosu
4 Replies
3. AIX
Hi all,
I am still working on my mksysb restore.
My latest issue is during an alt_disk_install from tape I got the following error after all the data had been restored.
0505-143 alt_disk_install: Unable to match mksysb level 5.2.0 with any
available boot images. Please correct this... (0 Replies)
Discussion started by: pobman
0 Replies
4. AIX
Dears,
The TSM storage that we have is already configured to backup some Application,directories & logs or let's say backup different path from 15 servers, I want to add more Items to be backuped by this storage, how to be confirmed if that possible or not? I mean how do we know the capacity of... (7 Replies)
Discussion started by: arm
7 Replies
5. Ubuntu
I am familiar with using tar and exclude/include files:
tar zcf backup.dirs.tgz --files-from=include.mydirs --exclude-from=exclude.mydirs --no-recursion
but was wondering if I could use find in the same way. I know that you can just specify the directories to exclude but my list is... (2 Replies)
Discussion started by: metallica1973
2 Replies
6. Red Hat
Hello,
I have some trouble checking the TSM ( Tivoli storage Mgr )service status in Linux box
when i am doing
service tsm status
-bash: service command not found
Above command is working fine in all other linux box ( Any idea how to look into this to resolve this, i am clueless from... (2 Replies)
Discussion started by: saurabh84g
2 Replies
7. Linux
my backup team was using the bpclient utility which they are migrated to TSM client.
I need to change the script running from bpclient to TSM .
if anyone give some inputs that would be great. (2 Replies)
Discussion started by: ramkumar15
2 Replies
8. Shell Programming and Scripting
hi all,
In my shell script, they have used the bplist commands where backup team were using the bplist utility and right now they have changed the utility to TSM.
Could you please help me out the revelant commands for TSM utility for the backup.
Let me know if you have any idea on tis. (1 Reply)
Discussion started by: ramkumar15
1 Replies
LEARN ABOUT CENTOS
btrfs-image
BTRFS-IMAGE(8) System Manager's Manual BTRFS-IMAGE(8)
NAME
btrfs-image - create/restore an image of the filesystem
SYNOPSIS
btrfs-image [options] source target
DESCRIPTION
btrfs-image is used to create an image of a btrfs filesystem. All data will be zeroed, but metadata and the like is preserved. source is
the special file corresponding to the device containing a btrfs filesystem. (e.g /dev/sdXX). target is the image file that btrfs-image
creates. When used with -r option, btrfs-image restores the image file from source into target.
OPTIONS
-r restore metadump image.
-c value
compression level (0 ~ 9).
-t value
number of threads (1 ~ 32) to be used to process the image dump or restore.
-o use the old restore method, this does not fixup the chunk tree so the restored file system will not be able to be mounted.
-s Sanitize the file names when generating the image. One -s means just generate random garbage, which means that the directory indexes
won't match up since the hashes won't match with the garbage filenames. Using -ss will calculate a collision for the filename so
that the hashes match, and if it can't calculate a collision then it will just generate garbage. The collision calculator is very
time and CPU intensive so only use it if you are having problems with your file system tree and need to have it mostly working.
-w Walk all the trees manually and copy any blocks that are referenced. Use this option if your extent tree is corrupted to make sure
that all of the metadata is captured.
AVAILABILITY
btrfs-image is part of btrfs-progs. Btrfs is currently under heavy development, and not suitable for any uses other than benchmarking and
review. Please refer to the btrfs wiki http://btrfs.wiki.kernel.org for further details.
SEE ALSO
btrfsck(8),mkfs.btrfs(8)
BTRFS-IMAGE(8)