backup /home/foo/My Documents/ archive/
i.e.: backup "My Documents" to archive
The backup line contains the root of what you are backing up as well as the root you are backing up to. Having the includes and excludes is fine, but they don't point to where you want to the backup to be.
On 05/01/2016 08:13 AM, Phill Edwards wrote:
[quote] I'm configuring rsnapshot for the first time. I wanted to place the list of things to include and exclude from the backup in files outside of the rsnapshot.conf file.
So I commented out all the lines beginning with "backup" and created an include file and an exclude file. These are referenced in rsnapshot.conf:
include_file /share/MD0_DATA/.qpkg/Entware-ng/etc/pme-rsnapshot.incl
exclude_file /share/MD0_DATA/.qpkg/Entware-ng/etc/pme-rsnapshot.excl
But when I run configtest I get an error:
# /share/MD0_DATA/.qpkg/Entware-ng/bin/rsnapshot config-test
----------------------------------------------------------------------------
rsnapshot encountered an error! The program was invoked with these options:
/share/MD0_DATA/.qpkg/Entware-ng/bin/rsnapshot config-test
----------------------------------------------------------------------------
ERROR: At least one backup point must be set. rsnapshot can not continue.
Perhaps I'm misunderstanding the settings, but why can't I just specify everything to include and exclude from the backup in include/exclude files? Why do I have to specify at least one thing to backup in the rsnapshot.conf file?
[quote]------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
[url=https://ad.doubleclick.net/ddm/clk/302982198;130105516;z]https://ad.doubleclick.net/ddm/clk/302982198;130105516;z[/url][/quote]
[quote]_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net ([email]rsnapshot-discuss < at > lists.sourceforge.net[/email])
[url=https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss]https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss[/url]
[/quote] [/quote]