Ask your questions here.
Post a reply
golinux

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

## Re: Squeeze snapshot

Sat Mar 23, 2013 10:54 pm

> dzz wrote:
> Code:
>   `find ~ -type f -size +100M -exec du -h {} \; 2> /dev/null`

Cool and thank you! The only file it found that isn't excluded was /home/xxxx/.xsession-errors that weighed in at whooping 2gb! Interestingly, not one of my text editors could open it so can't see the errors! I wonder if running snapshot created that mess as I've never seen anything like that before.
fsmithred

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

## Re: Squeeze snapshot

Sun Mar 24, 2013 1:19 am

It's in the excludes list you posted (and in mine). Did this not work, or are you looking at a file that was generated in your most recent login?
- /home/*/.xsession-errors*
golinux

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

## Re: Squeeze snapshot

Sun Mar 24, 2013 1:44 am

I ran dzz's script to find it. I didn't check whether it was in the excludes list but obviously should have. Sometimes braincells are not connected . . .
nadir

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

## Re: Squeeze snapshot

Sun Mar 24, 2013 8:04 am

Such happens to me all the time.
fsmithred can confirm that i had to ask a few times in IRC about the excludes list,
I don't think it is as easy as it seems (and the file excludes list ain't exactly small).
The cool boys search for a solution, for 4 days, sure. But all on their own. Real man. Boah....
I for one think: That is what forums are for.
First thing i do, in such cases, is using dh, like i said above. The "find" command given by fsmithred is cool too (i wouldn't know how to use "find").
In short: take it easy. Your braincells are fine.
-
question:
Is the snapthot tool still using rsync?
If yes: is there a way to add a "write what you do to a file" ? So one can investigate problems ?
I know there is "rsync -n" (--dry-run) for dry-run and redirect " > save.txt "
rsync -n ~/Documents /media/disk > log.txt
But obviously it's ages i looked at the script.
Or does it have a log already ?
golinux

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

## Re: Squeeze snapshot

Sun Mar 24, 2013 5:25 pm

I just created another snapshot after making changes to the snapshot_exclude.list, deleting the second user and the fonts in my /home directory. ISO size was exactly the same as the previous snapshot. I guess I need to figure out how to mount it to see exactly what's in there - need to reread that thread that fsmithred linked to and also need to try some of nadir's suggestions. Back to video editing . . .
fsmithred

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

## Re: Squeeze snapshot

Sun Mar 24, 2013 6:34 pm

Code:
  `apt-get install qemu
  qemu -cdrom snapshot.iso
  go make coffee`

golinux

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

## Re: Squeeze snapshot

Sun Mar 24, 2013 7:55 pm

Bummer . . .

> Could not resolve 'ftp.us.debian.org'

Maybe that's why FDN is down too? Did Mez break something??
meandean

- meandean
- Posts: 392
- Joined: Wed Mar 09, 2011 5:16 am

## Re: Squeeze snapshot

Wed Mar 27, 2013 2:16 pm

> golinux wrote:Even at that, the snapshot iso came to 22.7gb. (I can post the package list if you're interested.) What exactly am I supposed to do with that? Would that big an iso even work?

jaazus...
I think I would be interested in seeing that package list just for sheer morbid curiosity.
Usually if I create one that is huge then it is because I have misplaced some iso images or squashed files on the system. So I usually pull up a disk usage tool and comb thru things and try to find anything that was lost.
Also having a bunch of themes installed will often bloat an install too. But if you use a disk usage tool then you can usually spot that usage as well.
Other than that maybe some temp files that multimedia apps love to create, the apt cache of course, obviously remove that xsession-errors file, remove packages you do not need, so on and so forth.
Another thing, probably not relevant, is to be sure any swap files are excluded.
Another thing you can do is to edit the snapshot script to not remove the copy it makes of your filesystem and then you can look through that to see exactly what is or is not being included.
But you should be able to write that image to a large (obviously) usb drive and run it live or install from it. I believe I created one that was 10gb in size. Of course I purposely made a number of 1gb files to make the image that big in order to try it out.
If all of this has been covered in the thread then just ignore me....
meandean

- meandean
- Posts: 392
- Joined: Wed Mar 09, 2011 5:16 am

## Re: Squeeze snapshot

Wed Mar 27, 2013 2:20 pm

> ukbrian wrote:Anthony Nordquist(SalineOS wrote a backup script for Squeeze quite a time ago that wrote a backup file rather than an ISO to overcome the ISO size limitations.

snapshot does the same but then rolls it into a iso
if you just want a squash file then stop snapshot after it creates the squash file
I think me and fsr threw the squash backup idea back and forth but concluded that since you had to have a system to restore it it was probably just as good to do a live image and have it all rolled into one.
Maybe it would be useful though to do just the file. I will add this on my ideas-to-consider list...
I also use the installer to do something similar but different and that is to just clone the install from one partition to another...another complete backup method.
golinux

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

## Re: Squeeze snapshot

Wed Mar 27, 2013 3:41 pm

> meandean wrote:

> > golinux wrote:Even at that, the snapshot iso came to 22.7gb. (I can post the package list if you're interested.) What exactly am I supposed to do with that? Would that big an iso even work?

> jaazus...
> I think I would be interested in seeing that package list just for sheer morbid curiosity.

Morbid away . . . package list.

> meandean wrote:Usually if I create one that is huge then it is because I have misplaced some iso images or squashed files on the system. So I usually pull up a disk usage tool and comb thru things and try to find anything that was lost.

There's nothing in /home so something must be in / Right now distracted in video-editing land. Will get back to such things when there's time . . .
Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.