tar
Backing up a postgresql data dir with python tarfile. What errors to expect / ignore
I am writing a python script for automating the backing up of the PostgreSQL data directory to enable "Continuous Archiving and Point-In-Time Recovery".[详细]
2023-03-13 00:55 分类:问答File Header of csv.gz
I would like to know that if my csv file is Gzipped. (not tarred first, like tar.gz). And its extension is FileName.csv.gz.[详细]
2023-03-12 15:50 分类:问答tar only *.log files and delete orginals when finished
I am using the following script to create a tarball of a directory with php exec(\"tar -zcvf archive_name.tar.gz *\");[详细]
2023-03-11 21:58 分类:问答How do I pipe a git clone to archive (tar or gzip)
I am trying to make a simple backup script for my remotely hosted git repos. In the script I have a few lines that currently look like this:[详细]
2023-03-05 13:10 分类:问答is it possible to take a large number of files & tar/gzip and stream them on-the-fly?
I have a large number of files which I need to backup, problem is there isn\'t enough disk space to create a tar file of them and then upload it offsite. Is there开发者_StackOverflow中文版 a way of us[详细]
2023-03-03 15:58 分类:问答Find files and tar them (with spaces)
Alright, so simple problem here. I\'m working on a simple back up code.It works fine except if the files have spaces in them.This is how I\'m finding files and adding them to a tar archive:[详细]
2023-03-02 18:20 分类:问答rsync out of git repository or tar archive
I have a git repository and I want to rsync a particular revision of the repository into a directory. Basically I want to do this:[详细]
2023-03-01 06:13 分类:问答How do compression utilities add files sequentially to a compressed archive?
For example, when you tar -zcvfa directory, you can see a list of files 开发者_如何学运维being added sequentially to the final gzip file.[详细]
2023-02-28 23:18 分类:问答tar with --include pattern
The following is a snippet from a script I have that tries to tar up all php files in a subdir.It tries to use the \'--include\' parameter[详细]
2023-02-27 10:54 分类:问答Output the root directory in a tar archive
I\'m trying to automate the process you go through when compiling something like nginx using a shell script. (I don\'t want to use apt-get)[详细]
2023-02-27 01:04 分类:问答