Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Automatic Backup - Filesize limit
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
airflow
Apprentice
Apprentice


Joined: 14 Dec 2003
Posts: 173
Location: Vienna, Austria

PostPosted: Fri Jan 30, 2004 3:53 pm    Post subject: Automatic Backup - Filesize limit Reply with quote

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
View user's profile Send private message
viperlin
Veteran
Veteran


Joined: 15 Apr 2003
Posts: 1319
Location: UK

PostPosted: Fri Jan 30, 2004 4:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
airflow
Apprentice
Apprentice


Joined: 14 Dec 2003
Posts: 173
Location: Vienna, Austria

PostPosted: Fri Jan 30, 2004 4:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
viperlin
Veteran
Veteran


Joined: 15 Apr 2003
Posts: 1319
Location: UK

PostPosted: Fri Jan 30, 2004 4:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
airflow
Apprentice
Apprentice


Joined: 14 Dec 2003
Posts: 173
Location: Vienna, Austria

PostPosted: Fri Jan 30, 2004 5:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
airflow
Apprentice
Apprentice


Joined: 14 Dec 2003
Posts: 173
Location: Vienna, Austria

PostPosted: Fri Jan 30, 2004 8:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum