Проект

Общее

Профиль

SETUP » История » Версия 3

Версия 2 (Dmitry Chernyak, 07.07.2016 13:26) → Версия 3/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 or /etc/scduply/conf) (~/.scduply/conf) and 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 in the configuration file).

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 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>