i am using the following to backup my site-
system('tar --create --preserve-permissions --gzip --file=files/'.$saveAs.'.tgz --exclude ~/public/functions/maintenance/backup/files ~/public');
the problem is that when i decompress the backup, all the text files lose their proper returns when i open them in notepad. instead they have those funky standing rectangle everywhere a return would be.
does anyone know why this is happening and how i can fix it?
thanks.