Quantcast
Channel: ADSM.ORG
Viewing all articles
Browse latest Browse all 2470

Using include.fs to only backup /

$
0
0
Hi,

I'm trying to backup only "/" filesystem and excluding everything else from the backup.
This is what I have in dsm.sys file:

exclude /.../*
exclude.dir /var/adm/crash
exclude.dir /opt/nsh/NSH/log
exclude.dir /opt/nsh/Transactions/log
exclude.dir /var/centrifydc
exclude.dir /tsm/logs
include /home/.../*
include /tsm/.../*
include /etc/.../*
include /opt/.../*
include /usr/.../*
include /var/.../*
*include /root/.../*
include.fs / memoryefficientbackup=no

When I give dsmc q inclexcl, this is what i get.But I see that strange thing //*/* below.

Mode Function Pattern (match from top down) Source File
---- --------- ------------------------------ -----------------
No exclude filespace statements defined.
Excl Directory /.../.TsmCacheDir TSM
Excl Directory /tsm/logs "/tsm/conf/obdmgt00/inclexcl"
Excl Directory /var/centrifydc "/tsm/conf/obdmgt00/inclexcl"
Excl Directory /opt/nsh/Transactions/log "/tsm/conf/obdmgt00/inclexcl"
Excl Directory /opt/nsh/NSH/log "/tsm/conf/obdmgt00/inclexcl"
Excl Directory /var/adm/crash "/tsm/conf/obdmgt00/inclexcl"
Include FS //*/* "/tsm/conf/obdmgt00/inclexcl"
Include All /var/.../* "/tsm/conf/obdmgt00/inclexcl"
Include All /usr/.../* "/tsm/conf/obdmgt00/inclexcl"
Include All /opt/.../* "/tsm/conf/obdmgt00/inclexcl"
Include All /etc/.../* "/tsm/conf/obdmgt00/inclexcl"
Include All /tsm/.../* "/tsm/conf/obdmgt00/inclexcl"
Include All /home/.../* "/tsm/conf/obdmgt00/inclexcl"
Exclude All /.../* "/tsm/conf/obdmgt00/inclexcl"

Now when I backup the below file,I get the below error.

tsm> s /root/ashley/adHocCollector.py
Selective Backup function invoked.


ANS1898I ***** Processed 2,500 files *****
ANS1115W File '/root/ashley/adHocCollector.py' excluded by Include/Exclude list
Selective Backup processing of '/root/ashley/adHocCollector.py' finished without failure.




Total number of objects inspected: 2,509
Total number of objects backed up: 0
Total number of objects updated: 0
Total number of objects rebound: 0
Total number of objects deleted: 0
Total number of objects expired: 0
Total number of objects failed: 0
Total number of bytes inspected: 5.07 MB
Total number of bytes transferred: 0 B
Data transfer time: 0.00 sec
Network data transfer rate: 0.00 KB/sec
Aggregate data transfer rate: 0.00 KB/sec
Objects compressed by: 0%
Total data reduction ratio: 100.00%
Elapsed processing time: 00:00:01





I've been breaking my head over it but I'm clueless.
Can you please help me?

Viewing all articles
Browse latest Browse all 2470

Trending Articles