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

RE: Backing up all files on hdd - windoze




On Tue, 20 May 2003, [iso-8859-1] Roberto Sanchez wrote:

>  --- Willem-Jan Meijer <meyer3@chello.nl> escribió: > Roberto Sanchez

...
> > My server has only one hdd, it has no cd-recorder so I want to backup to 
> > a network share in windows xp, //WILLEM-JAN/backup/
> > 
> > dd if=/dev/hda1 of=//WILLEM-JAN/backup doesn't work, it says "no such file 
> > or directory". How can I make a backup from my hdd to //WILLEM-JAN/backup/
> > 

you probably want to do:

a. on the linux side
	get samba properly configured on linux
	touch /home/windoze_user/foo.txt

	smbpasswd windoze_user

b.  on the windoze box
	(networkmap) import your home dir on linux to your XP box

	drag-n-drop a test file to your network-mapped-home-dir
	
	- you should be able to see it on linux side
	  linux#  ls -laRr /home/windoze_user/"drag-n-drop test file.doc"

	- make sure  C:\My Documents  is exported

	- print your files to the linux print server

c.  to do windoze backups  to linux

	linux#  mount WILLEM-JAN  /mnt/windoze

	linux# cd /mnt/windoze
	linux# find . -mtime -5 -print | \
		 tar zcvf /home/windoze_user/backup.date.tgz -T -

	linux# cd ~ ; umount /mnt/windoze

d.  todo linux backup to windoze
	( donno why anybody wanna do that but... oh well )

	linux#  mount WILLEM-JAN/backup /mnt/windoze

	linux# find /home/your-stuff /etc -mtime -5 -print | \
		tar zcvf /mnt/windoze/linux.backup.date.tgz -T -
	linux# cd ~ ; umount /mnt/windoze

	with your fav browser on windoze, you should see your backup files
	of your linux box

e.  use smbmount, smbclient, smbtar and other apps till you're tired of
    playing

c ya	
alvin



Reply to: