Tagged Questions
1
vote
2answers
229 views
Create a tar archive split into blocks of a maximum size
I need to backup a fairly large directory, but I am limited by the size of individual files. I'd like to essentially create a tar.(gz|bz2) archive which is split into 200MB maximum archives. ...
1
vote
1answer
76 views
tar -c Error Messages and Source Files?
During a tar archiving operation with tar -cvf archive.tar source does the resulting tar archive that reports a file changed as we read it error still contain "some version" of the source file that it ...
3
votes
1answer
217 views
“tar --exclude-backups” does not exclude files with tilde at end
If I have the following directory:
$ ls -a foo
. .. a #a# a~ b b.bkp c .git .hg .svn
and call:
$ tar zcf foo-no-bkp.tar.gz --exclude-backups foo/
The resulting archive still has backup ...
3
votes
2answers
4k views
Compress a folder with tar?
I'm trying to compress a folder (/var/www/) to ~/www_backups/$time.tar where $time is the current date.
This is what I have:
cd /var/www && sudo tar -czf ~/www_backups $time"
I am ...
3
votes
2answers
4k views
How to copy between two remote hosts using tar piped into scp from remote server when behind a firewall?
I'd like to transfer a directory between two servers, but compress the directory on the remote host before transfer, and then uncompress to another host. I'm sure it's possible to pipe everything all ...
3
votes
1answer
294 views
HP-UX 9: Backup filesystem using tar
So I've got an HP-UX 9 box that I'm trying to backup, first to a tape with fbackup, to no avail, and now to a folder shared over NFS. I'm using the command "tar -cvf /nfs/Results/backup.tar /" where ...
0
votes
0answers
45 views
Backing up to DVD [duplicate]
Possible Duplicate:
Splitting large directory tree into specified-size chunks?
I have a partition that is about 14G and I need to back it up to DVD in such a way that I can use each disc to ...
4
votes
4answers
367 views
How can I move the entire OS to a different server?
I want to install RhodeCode on a test server at work. However, the internet access is restricted for that server, and RhodeCode has a lot of dependencies (I don't even have Python on that server). So ...
6
votes
5answers
913 views
force copying a corrupted home directory
I have a home directory in a disk that has a lot of corrupted files. I am trying to save most files as possible. I am trying to create a backup of my home directory on an external drive using
tar ...
4
votes
3answers
922 views
How store in a variable a file list that includes the backslash when needed?
Main question:
I am writing a script to perform a backup. I make a list of files in the following way:
LISTOFFILES=$(find ~ \( -name '*.[pP][dD][fF]' -o -name '*.[oO][dD][tT]' \))
The variable ...
5
votes
2answers
2k views
Can I automate tar's multi-volume-feature?
Ok, so I've just had a read through this page after a way to improve my current backup solution on my Debian server. Tar seems to be offering a quite nice multi-volume feature, although when I try it ...
8
votes
2answers
1k views
Fastest way combine many files into one (tar czf is too slow)
Currently I'm running tar czf to combine backup files. The files are in a specific directory.
But the number of files is growing. Using tzr czf takes too much time (more than 20 minutes and ...
1
vote
4answers
351 views
Compare the contents of dynamically generated archives
Short question: I have two dynamically generated tar archives (so they have different timestamps), how can I compare them, ignoring any different in time?
Backgrounds...
I am doing some backup, in ...
11
votes
7answers
4k views
What to use to backup files, preserving ACLs?
When using the tar utility to store files in backups one loses the extended ACLs.
Is there some commonly used and not hackish solution (like: create a script that will recrate the ACLs from scratch) ...