[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: General question - objectives of debian live.

>>>>> carsten  <carsten@nosolution.doesntexist.org> writes:

 >> I would just like a confirmation that I can use debian live to
 >> create a portable clone of a subset of my regular debian environment
 >> that I can carry around on a CD/DVD and a USB flash drive.

 >> After reading the fine manual a couple of times, I'm pretty sure
 >> that's what debian live proposes to do.

 >> If so, and if I spend a couple of weeks with friends or family and
 >> have access to a computer .. how would I sync back my home machine
 >> with the live environment .. things such as mailboxes,
 >> development/documentation directories .. possible changes to
 >> configuration files .. software that I installed while away from
 >> home .. etc.

 > Have a look to unison-gtk. After using my live-hdd I mount my usb-hdd
 > on my desktop pc and sync my home-directory (which is separately on a
 > stick or usb-hdd encrypted with luks and dm-crypt)

	Or, rsync may be used for this purpose, too.

	Contrary to unison, rsync expects one to specify the direction
	of the sync explicitly, which eliminates the necessity of
	storing any ``state'' files for the media to be synchronized,
	but otherwise these two seem quite close (though I find the
	rsync configuration means more ``readable''.)

	Like (note that the meaning of -u, -v, -a, -b and --suffix= is
	basically the same as in cp(1) and mv (1)):

$ rsync -uvab --suffix=.~rsync~ --backup-dir=.rsync-backup \
      --exclude=\*~ --exclude=.rsync-backup/ \
      /media/flash/ \

	(More complex inclusion (exclusion) patterns are available with

Reply to: