Ask your questions here.
Post a reply
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: [SOLVED] Squeeze snapshot

Tue Apr 02, 2013 10:25 pm

If you run that on a machine that doesn't have nvidia graphics, you won't be able to get to a graphical session. The simple solution is to remove the thing that's telling the system to use the nvidia driver - either comment out the line in xorg.conf that says 'Driver nvidia' or else rename or remove the file. Then restart the display manager with a command like

Code:
  `/etc/init.d/gdm restart`

(Replace gdm with the correct display manager if it's different.)
dzz

- dzz
- Posts: 647
- Joined: Wed Apr 27, 2011 11:53 am
- Location: Devon, England

## Re: [SOLVED] Squeeze snapshot

Wed Apr 03, 2013 7:39 pm

Solved for the OP maybe but why it didn't work properly before is not. I can't see anything wrong with the original exclude_list.
golinux

- golinux
- Posts: 663
- Joined: Thu Nov 08, 2012 1:23 am

## Re: [SOLVED] Squeeze snapshot

Thu Apr 04, 2013 1:34 am

Remember that nadir confirmed the same behavior I experienced. Would be interesting to know if making those changes would fix it for him too. As to why it made a difference . . . that's way above my pay grade . . .
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## Re: [SOLVED] Squeeze snapshot

Thu Apr 04, 2013 7:28 pm

When i discovered the same problem i wrote:

> edited "/usr/lib/refractasnapshot/snapshot_exclude.list":
> # Examples of things to exclude in order to keep the image small:
> - /home/username/Downloads/*
> - /home/*/Videos/*
> Both excludes failed.

I for one am completely lost why it fails, when it works and anything else between earth and sky.
-
Above i have used "edit" instead of "quote", so the original post i have made is lost in the universe. Let me try to find it in the backup and restore (Nope. Backup seems to be too old -last friday).
golinux

- golinux
- Posts: 663
- Joined: Thu Nov 08, 2012 1:23 am

## Re: [SOLVED] Squeeze snapshot

Thu Apr 04, 2013 7:36 pm

The it must be the removal of the trailing slash that allowed it to work. Could you try:

> - /home/username/Downloads*

That's what worked for me and would pinpoint the solution.
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: [SOLVED] Squeeze snapshot

Thu Apr 04, 2013 9:17 pm

We've had inconsistent results with the excludes before. i don't recall exactly what went wrong, but I added the stars even though they shouldn't need to be there. Everything to the right of the last slash should be excluded.
Like this:
blah/Downloads/
the contents of Downloads should be excluded, but the empty directory should exist.
Like this:
blah/Downloads
the directory itself should be excluded.
All this just to say that I'm confused, too.
golinux

- golinux
- Posts: 663
- Joined: Thu Nov 08, 2012 1:23 am

## Re: [SOLVED] Squeeze snapshot

Thu Apr 04, 2013 9:53 pm

> fsmithred wrote:Like this:
> blah/Downloads/
> the contents of Downloads should be excluded, but the empty directory should exist.

IIRC this was inconsistent. Worked on some not on the others. Maybe the amount of data in ~ was a factor?

> fsmithred wrote:Like this:
> blah/Downloads
> the directory itself should be excluded.

Yes, this way there were no empty directories. I don't mind. Easy enough to recreate should a reinstall be needed.
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## Re: [SOLVED] Squeeze snapshot

Thu Apr 04, 2013 10:20 pm

> golinux wrote:The it must be the removal of the trailing slash that allowed it to work. Could you try:

> > - /home/username/Downloads*

> That's what worked for me and would pinpoint the solution.

If it works for you i assume it will work in general.
The truth is that i ain't got much hope being able to figure it out, all that booting and running snapshot is very time-consuming, rsync is just weird at times, i will be out of town for a while (afk), i don't plan to use squeeze anymore and ... well: i would rather not.
Not saying i got no interest in the problem or simply want to ignore your interest But it seems hopeless to me (and don't seem to need it).
I had such a weird problem with rsync, and simply used a workaround (and it took me long enough to find a workaround).
golinux

- golinux
- Posts: 663
- Joined: Thu Nov 08, 2012 1:23 am

## Re: [SOLVED] Squeeze snapshot

Fri Apr 05, 2013 3:47 am

> nadir wrote:The truth is that i ain't got much hope being able to figure it out, all that booting and running snapshot is very time-consuming,

Tell me about it. Especially if things go pear shaped on my system over 200gb large. It would have been nice to have another confirmation but no biggie.
dzz

- dzz
- Posts: 647
- Joined: Wed Apr 27, 2011 11:53 am
- Location: Devon, England

## Re: [SOLVED] Squeeze snapshot

Sat Apr 06, 2013 1:16 am

For future snapshot "exclude_lists" use of the trailing "*" should probably be reviewed.. there seems no definitive mention of this in "man rsync" but it seems more clear on use (or not) of a trailing slash, depending if a directory or just it's contents are required to be processed..
Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.