SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
exclude file
Author Message
Post exclude file 
Hi,

Exclude file is not working at all here. I have enabled the exclude file
in conf

exclude_file /home/backupuser/rsnapshot/exclude_file.txt


I tried different exclude files but none work

- /usr/local/bin



$ rsnapshot -v sync && rsnapshot -v hourly
echo 10468 > /home/backupuser/rsnapshot/rsnapshot.pid
mkdir -m 0755 -p /home/backupuser/rsnapshot/.sync/
/usr/bin/rsync -a --rsync-path=rsync_wrapper.sh --delete --numeric-ids \
--relative --delete-excluded --rsh=/usr/bin/ssh \
backupuser < at > 192.168.1.100:/usr/local \
/home/backupuser/rsnapshot/.sync/dirksdebian/
touch /home/backupuser/rsnapshot/.sync/
rm -f /home/backupuser/rsnapshot/rsnapshot.pid
echo 10477 > /home/backupuser/rsnapshot/rsnapshot.pid
/bin/cp -al /home/backupuser/rsnapshot/.sync \
/home/backupuser/rsnapshot/hourly.0
rm -f /home/backupuser/rsnapshot/rsnapshot.pid



Any idea whats going wrong?

Dirk

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post exclude file 
Hallo, ~D,

Du meintest am 01.01.12:

Exclude file is not working at all here. I have enabled the exclude
file in conf

exclude_file /home/backupuser/rsnapshot/exclude_file.txt


On my systems "exclude_file" works.
Is there only a "tab" between "exclude_file" and "/home/..."?


/usr/bin/rsync -a --rsync-path=rsync_wrapper.sh --delete \
--numeric-ids --relative --delete-excluded --rsh=/usr/bin/ssh \
backupuser < at > 192.168.1.100:/usr/local \
/home/backupuser/rsnapshot/.sync/dirksdebian/

There should be an entry

--exclude_from=/home/backupuser/rsnapshot/exclude_file.txt

What tells

rsnapshot -t hourly
rsnapshot configtest

Viele Gruesse!
Helmut

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post exclude file 
On 01/01/2012 09:20 PM, Helmut Hullen wrote:
Hallo, ~D,

Du meintest am 01.01.12:

Exclude file is not working at all here. I have enabled the exclude
file in conf

exclude_file /home/backupuser/rsnapshot/exclude_file.txt


On my systems "exclude_file" works.
Is there only a "tab" between "exclude_file" and "/home/..."?


/usr/bin/rsync -a --rsync-path=rsync_wrapper.sh --delete \
--numeric-ids --relative --delete-excluded --rsh=/usr/bin/ssh \
backupuser < at > 192.168.1.100:/usr/local \
/home/backupuser/rsnapshot/.sync/dirksdebian/

There should be an entry

--exclude_from=/home/backupuser/rsnapshot/exclude_file.txt

What tells

rsnapshot -t hourly
rsnapshot configtest

not such a entry here :/

configtest says OK

$ rsnapshot -v hourly
echo 10728 > /home/backupuser/rsnapshot/rsnapshot.pid
mkdir -m 0755 -p /home/backupuser/rsnapshot/hourly.0/
/usr/bin/rsync -a --rsync-path=rsync_wrapper.sh --delete --numeric-ids \
--relative --delete-excluded --rsh=/usr/bin/ssh \
backupuser < at > 192.168.1.100:/home/derick/documenten \
/home/backupuser/rsnapshot/hourly.0/dirksdebian/
touch /home/backupuser/rsnapshot/hourly.0/
rm -f /home/backupuser/rsnapshot/rsnapshot.pid



Viele Gruesse!
Helmut

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post exclude file 
On Sun, 2012-01-01 at 21:30 +0100, ~D wrote:
On 01/01/2012 09:20 PM, Helmut Hullen wrote:
What tells

rsnapshot -t hourly
rsnapshot configtest

not such a entry here :/

configtest says OK

$ rsnapshot -v hourly
echo 10728 > /home/backupuser/rsnapshot/rsnapshot.pid
mkdir -m 0755 -p /home/backupuser/rsnapshot/hourly.0/
/usr/bin/rsync -a --rsync-path=rsync_wrapper.sh --delete --numeric-ids \
--relative --delete-excluded --rsh=/usr/bin/ssh \
backupuser < at > 192.168.1.100:/home/derick/documenten \
/home/backupuser/rsnapshot/hourly.0/dirksdebian/
touch /home/backupuser/rsnapshot/hourly.0/
rm -f /home/backupuser/rsnapshot/rsnapshot.pid

This may be an example of the following bug:

https://sourceforge.net/tracker/?func=detail&aid=2942861&group_id=88546&atid=587076

Try specifying the exclude_file on the individual backup point.

--
Matt


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post exclude file 
On 01/01/2012 10:43 PM, Matt McCutchen wrote:


Try specifying the exclude_file on the individual backup point.


What do you mean by this exactly?

Regards,
Dirk

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post exclude file 
Hallo, Matt,

Du meintest am 01.01.12:

configtest says OK

[...]

This may be an example of the following bug:

https://sourceforge.net/tracker/?func=detail&aid=2942861&group_id=885
46&atid=587076

Sorry - that may describe another problem:

-------------------- cite on -------------

Other Information
-----------------
rsync behaves appropriately when it is handed both a --exclude and --exclude-from flag.

-------------------- cite off -------------

And that looks like an existing "--exclude_from" option in the "rsync"
line.

Viele Gruesse!
Helmut

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post exclude file 
On 01/02/2012 08:08 AM, Helmut Hullen wrote:
Hallo, Matt,

Du meintest am 01.01.12:

configtest says OK

[...]

This may be an example of the following bug:

https://sourceforge.net/tracker/?func=detail&aid=2942861&group_id=885
46&atid=587076

Sorry - that may describe another problem:

-------------------- cite on -------------

Other Information
-----------------
rsync behaves appropriately when it is handed both a --exclude and --exclude-from flag.

-------------------- cite off -------------

And that looks like an existing "--exclude_from" option in the "rsync"
line.

I don't seem to be very similar indeed ...

Strange that it doesn't work



------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post exclude file 
Hallo, ~D,

Du meintest am 01.01.12:

Exclude file is not working at all here. I have enabled the exclude
file in conf

exclude_file /home/backupuser/rsnapshot/exclude_file.txt

Sure?

In "rsnapshot.conf" you have defined

/home/backupuser/exclude_file.txt

Viele Gruesse!
Helmut

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post exclude file 
Hallo, ~D,

Du meintest am 02.01.12:

Exclude file is not working at all here.

[...]

Changed that while doing some tests:

# ls /home/backupuser/
exclude_file.txt rsnapshot

is this file now shown in the log file under "exclude_from"?

# cat /home/backupuser/exclude_file.txt
- /home/derick/documenten/financieel

Does the line really begin with "- "? That's wrong!

Viele Gruesse!
Helmut

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post exclude file 
On 01/02/2012 04:49 PM, Helmut Hullen wrote:
Hallo, ~D,

Du meintest am 02.01.12:

Exclude file is not working at all here.

[...]

Changed that while doing some tests:

# ls /home/backupuser/
exclude_file.txt rsnapshot

is this file now shown in the log file under "exclude_from"?

# cat /home/backupuser/exclude_file.txt
- /home/derick/documenten/financieel

Does the line really begin with "- "? That's wrong!

It's 'rsync style', but removing the '-' doesn't help unfortunately.
/home/derick/documenten/financieel

Dirk

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post exclude file 
On 01/02/2012 07:44 PM, ~D wrote:
On 01/02/2012 04:49 PM, Helmut Hullen wrote:
Hallo, ~D,

Du meintest am 02.01.12:

Exclude file is not working at all here.

[...]

Changed that while doing some tests:

# ls /home/backupuser/
exclude_file.txt rsnapshot

is this file now shown in the log file under "exclude_from"?

# cat /home/backupuser/exclude_file.txt
- /home/derick/documenten/financieel

Does the line really begin with "- "? That's wrong!

It's 'rsync style', but removing the '-' doesn't help unfortunately.
/home/derick/documenten/financieel

Dirk

Exclude doesn't seem to work at all... Also one entry in the
rsnapshot.conf doesn't work

exclude /home/derick/documenten/financieel/

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post exclude file 
Hallo, ~D,

Du meintest am 02.01.12:

Changed that while doing some tests:

# ls /home/backupuser/
exclude_file.txt rsnapshot


is this file now shown in the log file under "exclude_from"?

It's 'rsync style', but removing the '-' doesn't help unfortunately.
/home/derick/documenten/financieel

from your "rsnapshot.conf":

backup backupuser < at > 192.168.1.100:/home/derick/documenten/ dirksdebian/

Please try an "exclude" definition which starts below the backup path
/home/derick/documenten/

p.e.

financieel/*

(and look for side effects ...)

Just for curiosity: shows the backup a path
/home/derick/documenten/

Viele Gruesse!
Helmut

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post exclude file 
On 01/02/2012 08:26 PM, Helmut Hullen wrote:
Hallo, ~D,

Du meintest am 02.01.12:

Changed that while doing some tests:

# ls /home/backupuser/
exclude_file.txt rsnapshot


is this file now shown in the log file under "exclude_from"?

It's 'rsync style', but removing the '-' doesn't help unfortunately.
/home/derick/documenten/financieel

from your "rsnapshot.conf":

backup backupuser < at > 192.168.1.100:/home/derick/documenten/ dirksdebian/

Please try an "exclude" definition which starts below the backup path
/home/derick/documenten/

p.e.

financieel/*

(and look for side effects ...)

Just for curiosity: shows the backup a path
/home/derick/documenten/


It looks it has something to do with the way I backup via a restricted
user and SSH. Locally exclude seems to work fine.

So probably an permission problem or something

I followed these howtos to prevent root from login:
http://alien.slackbook.org/dokuwiki/doku.php?id=linux:rsnapshot
http://marksallee.wordpress.com/2009/10/08/server-backups-with-rsnapshot-rsync-non-root-user/

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post exclude file 
On 01/02/2012 08:48 PM, ~D wrote:
On 01/02/2012 08:26 PM, Helmut Hullen wrote:
Hallo, ~D,

Du meintest am 02.01.12:

Changed that while doing some tests:

# ls /home/backupuser/
exclude_file.txt rsnapshot


is this file now shown in the log file under "exclude_from"?

It's 'rsync style', but removing the '-' doesn't help unfortunately.
/home/derick/documenten/financieel

from your "rsnapshot.conf":

backup backupuser < at > 192.168.1.100:/home/derick/documenten/ dirksdebian/

Please try an "exclude" definition which starts below the backup path
/home/derick/documenten/

p.e.

financieel/*

(and look for side effects ...)

Just for curiosity: shows the backup a path
/home/derick/documenten/


It looks it has something to do with the way I backup via a restricted
user and SSH. Locally exclude seems to work fine.

So probably an permission problem or something

I followed these howtos to prevent root from login:
http://alien.slackbook.org/dokuwiki/doku.php?id=linux:rsnapshot
http://marksallee.wordpress.com/2009/10/08/server-backups-with-rsnapshot-rsync-non-root-user/


I have taken up the Derek approach
http://derek.simkowiak.net/backing-up-multiple-servers-with-rsnapshot/

So far so good, but now sync isn't working :/
# rsnapshot -t hourly
echo 18634 > /home/rsnapshot/rsnapshot.pid
/bin/cp -al /home/rsnapshot/.sync /home/rsnapshot/hourly.0

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post exclude file 
On 01/03/2012 11:29 AM, ~D wrote:
On 01/02/2012 08:48 PM, ~D wrote:
On 01/02/2012 08:26 PM, Helmut Hullen wrote:
Hallo, ~D,

Du meintest am 02.01.12:

Changed that while doing some tests:

# ls /home/backupuser/
exclude_file.txt rsnapshot


is this file now shown in the log file under "exclude_from"?

It's 'rsync style', but removing the '-' doesn't help unfortunately.
/home/derick/documenten/financieel

from your "rsnapshot.conf":

backup backupuser < at > 192.168.1.100:/home/derick/documenten/ dirksdebian/

Please try an "exclude" definition which starts below the backup path
/home/derick/documenten/

p.e.

financieel/*

(and look for side effects ...)

Just for curiosity: shows the backup a path
/home/derick/documenten/


It looks it has something to do with the way I backup via a restricted
user and SSH. Locally exclude seems to work fine.

So probably an permission problem or something

I followed these howtos to prevent root from login:
http://alien.slackbook.org/dokuwiki/doku.php?id=linux:rsnapshot
http://marksallee.wordpress.com/2009/10/08/server-backups-with-rsnapshot-rsync-non-root-user/



I have taken up the Derek approach
http://derek.simkowiak.net/backing-up-multiple-servers-with-rsnapshot/

So far so good, but now sync isn't working :/
# rsnapshot -t hourly
echo 18634 > /home/rsnapshot/rsnapshot.pid
/bin/cp -al /home/rsnapshot/.sync /home/rsnapshot/hourly.0


Ah sorry for the noise, I should run an extra command of course ...

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB