New answers tagged

0 votes

Decompress tarred file system into mounted partition

Okay, I found this solution. tar xzvf backup.tar.gz --strip=1 -C /path/to/target/dir Did the trick.
1 vote
Accepted

Common practices for backup compression levels

What are the common practices regarding the compression level for backups? None, everything strictly depends on your needs and abilities. Are there any standards used in corporations or institutions?...
0 votes

Easy backup solution to protect against bit rot (or verify)

integrity of files of 1 disk instead of a disk array I know you said not ZFS, but here is a hack to consider. I did this for my local backup drives. Divide the drive into 11 equal partitions Use ...
  • 1,760
0 votes

Easy backup solution to protect against bit rot (or verify)

I want to know if my files that I haven't accessed in a long time got randomly damaged or not, … This is exactly one of the motivations behind creating Datimprint, Jordial's free software for data ...
0 votes

What to use to backup files, preserving ACLs?

@silk 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 ...
0 votes

Tar Splitting Into Standalone Volumes

(Writing as new answer because I cannot comment yet) As True mentioned in a comment this might not work with the MacOS tar Just wanted to point out that you could install gnu-tar on mac via brew: brew ...
  • 1
0 votes

How to select or find new file in directory linux

That doesn't answer your specific question about finding the last file, but for backup purposes, it's better to use rsync instead of scp. From the man pages of rsync(1): rsync is a program that ...
  • 2,087
0 votes

How to select or find new file in directory linux

The find command has builtin option to search files by time: For last write time (m like modification): find . -mtime n For last read time (a like access): find . -atime n +n for n days or more -n ...
  • 179
2 votes

How to select or find new file in directory linux

With the zsh shell: scp ./file*(.om[1]) host:target/dir/ Would scp the newest (in terms of last modification time) regular (. glob qualifier) file in the current working directory whose name starts ...
0 votes

Program/method to repair a partially unreadable file from a backup copy

I would use ddrescue for this: ddrescue damaged_file temp temp.map ddrescue working_file temp temp.map --retrim mv temp working_file This would work without any special file system specific tools or ...
  • 103

Top 50 recent answers are included