View previous topic :: View next topic |
Author |
Message |
airflow Apprentice
Joined: 14 Dec 2003 Posts: 173 Location: Vienna, Austria
|
Posted: Fri Jan 30, 2004 3:53 pm Post subject: Automatic Backup - Filesize limit |
|
|
Hi,
I would like my system to backup my home-directory automatically regularly. I wanted to set up a script, but tar fails to create the file. It exits with the errormessage
Code: | File size limit exceeded |
Which I find annoying, as this file size limit seems to be set to 2 GB. Does anyone know a workaround? The filesystem principially would support files much larger. Also the gzip version (1.3.3) would do it. tar seems to be the only problem.
regards,
airflow |
|
Back to top |
|
|
viperlin Veteran
Joined: 15 Apr 2003 Posts: 1319 Location: UK
|
Posted: Fri Jan 30, 2004 4:15 pm Post subject: |
|
|
personally for backups now i have started using rsync over ssh , i will be experimenting with the gzip option soon.
rsync -rcv /home/john/Documents john@viperlin:/home/john/
works great and efficient too as it just updates the files that have changed using dates and checksums.
what filesystem are you backing up to? |
|
Back to top |
|
|
airflow Apprentice
Joined: 14 Dec 2003 Posts: 173 Location: Vienna, Austria
|
Posted: Fri Jan 30, 2004 4:45 pm Post subject: |
|
|
Your question about the filesystem brought me to the solution (or at least to the real problem): I backed up to a smbfs. And there was the problem, because when I tried to backup to the same local harddisc, it worked. So I have to look at rsync or scp further...
Thx for your comment,
airflow |
|
Back to top |
|
|
viperlin Veteran
Joined: 15 Apr 2003 Posts: 1319 Location: UK
|
Posted: Fri Jan 30, 2004 4:52 pm Post subject: |
|
|
i assume because it was smbfs it was a windows machine running FAT32 or something if you need any help on more backup methods i've seen loads on this forum alone. so find the best one for you. |
|
Back to top |
|
|
airflow Apprentice
Joined: 14 Dec 2003 Posts: 173 Location: Vienna, Austria
|
Posted: Fri Jan 30, 2004 5:00 pm Post subject: |
|
|
viperlin wrote: | i assume because it was smbfs it was a windows machine running FAT32 or something :-) |
Well, in fact it's from gentoo to debian! Anyway, searching in Google revealed that it seems to be a problem with the smbfs support built in to the kernel. At the moment I'm trying to find out if I have to build the backup-file first locally before sending it via scp or if I can directly pipe it through scp... I'll find out... thx again.
regards,
airflow |
|
Back to top |
|
|
airflow Apprentice
Joined: 14 Dec 2003 Posts: 173 Location: Vienna, Austria
|
Posted: Fri Jan 30, 2004 8:52 pm Post subject: |
|
|
Just the answer for anyone who might be interested: It is not possible to pipe into scp. So a construction like
Code: | tar -c /home/user/ | scp user@host/~/blub.tar |
won't work. Use ssh instead:
Code: | tar -c /home/user/ | ssh user@host 'cat > blub.tar' |
will do.
regards,
airflow |
|
Back to top |
|
|
|