Difference between revisions of "BXadmin:AFS Backups"
From CCGB
Line 22: | Line 22: | ||
** common/ - config files common to all backup hosts | ** common/ - config files common to all backup hosts | ||
** hosts/ | ** hosts/ | ||
− | *** <short hostname>/ | + | *** <short hostname>/ - config files for <short hostname> |
+ | |||
+ | Config files: | ||
+ | * '''basepath''' : Usually /afs/<cell>. This is used if paths specified in *-by-path files aren't relative | ||
+ | ** TSM mode | ||
+ | ** '''dsm.sys.head''' : The top of the dsm.sys file to be generated | ||
+ | ** '''exclude.list''' : TSM exclude file | ||
+ | ** '''tsm-backup-by-path''' : List of path regexes to backup. Can prefix entries with ''!'' to explicitly exclude. | ||
+ | ** '''tsm-backup-by-volume''' : List of volume regexes to backup. Can prefix entries with ''!'' to explicitly exclude. | ||
+ | ** '''tsm-policy-by-path''' : List of path regexes and the TSM management class to bind those paths to, separated by whitespace | ||
+ | ** '''tsm-policy-by-volume''' : List of volume regexes and the TSM management class to bind ''the shortest mountpoint for those volumes (by number of characters) to, separated by whitespace |
Revision as of 12:37, 30 March 2010
afs-backup.pl and associated scripts are here: http://github.com/phalenor/afs-backup
Installed into /afs/bx.psu.edu/service/afs-backup
Should probably make that /afs/bx.psu/edu/service/afs/backup ?
Testing directory is under testing/, with testing/etc/ -> etc/ and testing/var/ -> var/
Directory layout:
- var/
- acl/
- <volume name> - contains acls for that volume
- log/ - contains dsmc logs right now
- mounts/
- mounts-by-path
- mounts-by-volume
- tmp/
- vldb/
- vldb.<date> - these should be routinely gzip'd
- acl/
- etc/
- common/ - config files common to all backup hosts
- hosts/
- <short hostname>/ - config files for <short hostname>
Config files:
- basepath : Usually /afs/<cell>. This is used if paths specified in *-by-path files aren't relative
- TSM mode
- dsm.sys.head : The top of the dsm.sys file to be generated
- exclude.list : TSM exclude file
- tsm-backup-by-path : List of path regexes to backup. Can prefix entries with ! to explicitly exclude.
- tsm-backup-by-volume : List of volume regexes to backup. Can prefix entries with ! to explicitly exclude.
- tsm-policy-by-path : List of path regexes and the TSM management class to bind those paths to, separated by whitespace
- tsm-policy-by-volume : List of volume regexes and the TSM management class to bind the shortest mountpoint for those volumes (by number of characters) to, separated by whitespace