Bug 17390 - draksnapshot-config - default snapshot configuration incomplete
Summary: draksnapshot-config - default snapshot configuration incomplete
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL: https://forums.mageia.org/en/viewtopi...
Whiteboard: MGA6TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-24 12:59 CET by Isaiah Sellassie
Modified: 2023-09-13 10:54 CEST (History)
5 users (show)

See Also:
Source RPM: draksnapshot
CVE:
Status comment:


Attachments

Description Isaiah Sellassie 2015-12-24 12:59:05 CET
Description of problem: rsnapshot fails to make backups with default rsnapshot.conf


Version-Release number of selected component (if applicable):


How reproducible: Universal? (have not tested on other systems beside my own)


Steps to Reproduce:
1. Enable Snapshots from Drake GUI
2. Setup parameters like source and target directories, click Apply
3. On command line enter 'rsnapshot -t hourly' as root

This produces 'ERROR: at least one backup level must be set, rsnapshot will exit' 

SOLUTION:

The man file for rsnapshot says - 

"Backup levels must be specified in the config file in order,
from most frequent to least frequent. The first entry is the one
which will be synced with the backup points. The subsequent
backup levels (e.g., daily, weekly, etc) simply rotate, with
each higher backup level pulling from the one below it for its
.0 directory.

retain hourly 6 
retain daily 7
retain weekly 4"

I added the 3 lines as shown in the man file to /etc/rsnapshot.conf with Tab separators, not spaces. This fixed the error, the cron job is getting rsnapshot to run as intended. 

NOTE: Directories in the rsnapshot.conf file should be designated with trailing slashes, e.g. /home/user/ not /home/user - this instruction is provided as comment at the head of the file.


Reproducible: 

Steps to Reproduce:
Comment 1 Florian Hubold 2015-12-24 13:49:26 CET
FWIW this was initially reported via forums thread:
https://forums.mageia.org/en/viewtopic.php?f=8&t=10607

Whiteboard: (none) => MGA5TOO
Hardware: x86_64 => All
Version: 5 => Cauldron
Summary: Snapshots default configuration file incomplete => draksnapshot-config - default snapshot configuration incomplete
Source RPM: draksnapshot-config => draksnapshot
URL: (none) => https://forums.mageia.org/en/viewtopic.php?f=8&t=10607
CC: (none) => doktor5000

Comment 2 Samuel Verschelde 2016-01-11 09:20:48 CET
Assigning to maintainer.

Assignee: bugsquad => thierry.vignaud

Marja Van Waes 2016-08-14 14:02:31 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=19195

Comment 3 aguador 2017-06-23 23:27:59 CEST
Just downloaded this by clicking "Snapshots" in mcc. Package and dependencies apparently downloaded correctly, but would not load. It hangs up with the message "Loading".

This is on an up-to-date Cauldron x86_64 installation with Enlightenment

CC: (none) => aguador

Comment 4 Gilles Pascual 2017-07-22 22:39:58 CEST
Hi, same problem here. It's a very good tool, too bad it doesn't work !

CC: (none) => gpascual

papoteur 2018-02-13 08:54:54 CET

Whiteboard: MGA5TOO => MGA6TOO
CC: (none) => yves.brungard_mageia

Comment 5 Ben McMonagle 2023-09-13 10:54:55 CEST
fixed Mga9

CC: (none) => westel
Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.