R
R
Roman2014-03-14 00:49:33
linux
Roman, 2014-03-14 00:49:33

What problems can be when copying from ext3 / ext4 to NTFS and vice versa?

There is a large screw as a backup storage. The file system is NTFS. Used by Windows and Linux. There are no questions with backup from Windows, but with the Linux home folder - the question is: if I copy my home folder (ext4) to this backup screw (NTFS), what problems can arise and what information can be lost? For example, I know that the execution bit will be lost, and scripts will have to write chmod +x manually. What else?
If there are many problems, what solutions do you offer? The only thing that comes to my mind is a giant tarball, but that's probably slow and irrational. I'm going to copy the data through rsync so that only changed files are processed.
For reference: the partition is encrypted with truecrypt, and the Windows ext3 driver (ext2fsd) cannot work simultaneously with truecrypt, so I had to choose NTFS for storage.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vlad Zhivotnev, 2014-03-14
@romanshuvalov

Permissions to files will be lost (chmod, chown, xattr), files with UTF names will not be copied (with all sorts of hearts, for example), files with characters prohibited in win will not be copied (more precisely, they may be copied, but then from under Windows with them what - something can happen - all sorts of \|@etc), files with the same name, but different registers (File1 file1 fILE1) will not be copied.

@
@mgyk, 2014-03-14
_

try duplicity and it breaks into pieces and makes an incremental backup

Y
Yura, 2014-03-16
@YurixAnd

Head- on solution:
mv /<where to backup>/backup.tgz /<where to backup>/backup.old.tgz
tar -zcvpf /<where to backup>/backup.tgz /<what to backup>/
keys: -z compress
-c create an archive
-v output to the console the process of archiving
-p save permissions
-f archive file
There will be two backups, one for yesterday and one for today. So that they do not eat up space on the hard drive, backup only what is needed.

M
Maxim Moseychuk, 2014-03-14
@fshp

Try to create a large file on an NTFS partition, format it as ext4, and backup it there. Crutch, yes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question