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

Archive certain directories...

$
0
0
Hello people

I want to archive certain directories, but Also exclude some directories.

Example on Linux:
I want to use this sys (dsmarchive.sys) file:

exclude.archive / ... / *
exclude.archive / home / ... / public_html / ... / *
include.archive / home / ... / *
include.archive / etc / ... / *
include.archive / usr/local/apache2/htdocs / ... / *


How can I call the "dsmarchive.sys" in command line file:

# dsmc archive ....?

I tried
# dsmc archive -subdir=yes / sys dsmarchive.sys

I also tried with "dsmarchive.opt" file.
# dsmc archive -subdir = yes / opt dsmarchive.opt

But none of the ways it works.

Suggestions?

Viewing all articles
Browse latest Browse all 2470

Trending Articles