2. Using Azure tools: azcopy
3. Using Google tools: tar c /tmp | gzip l gsutil cp - gs://my_app_bucket/tmp.tar.gz
With Windows: 7z -ttar a dummy c:\tmp\* -so | 7z -si -tgzip a tmp.tgz
7z -ttar a dummy c:\tmp\* -so | 7z -si -tgzip a -so | aws s3 cp - "s3://mybucket/tmp.tar.gz"
To get all ACLs for a specific folder including its subfolders and files and save them as plain text:
icacls g:\veteran /save veteran_ntfs_perms.txt /t /c
To restore NTFS permissions on the objects of this folder automatically according to the values from the backup file:
icacls g:\ /restore veteran_ntfs_perms.txt /t /c
Note that when importing permissions from the file, you should specify the path to the parent directory instead of the folder name.
No comments:
Post a Comment