SETUP » История » Версия 2
Версия 1 (Dmitry Chernyak, 07.07.2016 13:17) → Версия 2/7 (Dmitry Chernyak, 07.07.2016 13:26)
h1. SETUP
{{include(ОГЛАВЛЕНИЕ)}}
SkyCover Duply Usage Guidelines
<pre>
All the actions are executing in the command line.
The Windows ™ users should start the CygWin shell.
</pre>
h2. Prepare
If you are planning to save the configuration under /etc (it is available only when running as root), create folder /etc/scduply:
<pre>
mkdir /etc/scduply
</pre>
Otherwise the configuration will be automatically placed into ~/.scduply
<pre>
$ scduply init
</pre>
In the configuration folder open the file “conf” (~/.scduply/conf) and ~/.scduply/conf set the values:
*GPG_KEY* – set the ID of the GPG key, if you planning to use the key,
*GPG_PW* – set the password for the GPG key, or the password for symmetric encryption (don’t use weak passwords),
*TARGET_URL* – set the path (network or local) to the backup archive storage (the examples are values, following tips in the configuration file). comments:
Example:
<pre>
GPG_PW = 123456
TARGET_URL = /tmp/sctest
</pre>
h2. Test
h3. Create a job
<pre>
$ scduply JOB create
$ echo /path/to/backup > ~/.scduply/JOB/source
</pre>
h3. Do backup
All — all configured jobs will be executed
<pre>
$ scduply bkpall
</pre>
The first backup of the job will be full, the next will be incremental with per-block difference via librsync algorythm.
h3. Restore
<pre>
$ scduply JOB restore /path/to/restore
</pre>
{{include(ОГЛАВЛЕНИЕ)}}
SkyCover Duply Usage Guidelines
<pre>
All the actions are executing in the command line.
The Windows ™ users should start the CygWin shell.
</pre>
h2. Prepare
If you are planning to save the configuration under /etc (it is available only when running as root), create folder /etc/scduply:
<pre>
mkdir /etc/scduply
</pre>
Otherwise the configuration will be automatically placed into ~/.scduply
<pre>
$ scduply init
</pre>
In the configuration folder open the file “conf” (~/.scduply/conf) and ~/.scduply/conf set the values:
*GPG_KEY* – set the ID of the GPG key, if you planning to use the key,
*GPG_PW* – set the password for the GPG key, or the password for symmetric encryption (don’t use weak passwords),
*TARGET_URL* – set the path (network or local) to the backup archive storage (the examples are values, following tips in the configuration file). comments:
Example:
<pre>
GPG_PW = 123456
TARGET_URL = /tmp/sctest
</pre>
h2. Test
h3. Create a job
<pre>
$ scduply JOB create
$ echo /path/to/backup > ~/.scduply/JOB/source
</pre>
h3. Do backup
All — all configured jobs will be executed
<pre>
$ scduply bkpall
</pre>
The first backup of the job will be full, the next will be incremental with per-block difference via librsync algorythm.
h3. Restore
<pre>
$ scduply JOB restore /path/to/restore
</pre>