Compress dirs and files recursively but exclude self
tar -zcvf /home/everything_whole_server.tar.gz /home --exclude="/home/everything_whole_server.tar.gz"
You can remove -v to turn output off.
Similar entries
- Using "Linux Find" command to get human readable directory sizes in public_html
- Search only in .php files under linux
- Howto read/export firefox cookies in linux
- Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 80 bytes) in /home/mysite/public_html/includes/
- Argument List too Long
- howto cp images, mp3 from multiple directory to one directory (find, exec, cp)
- Update / overwrite files and directories recursively with Linux mv - cp commands
- Include both php/ html files, catch & assign output to a string variable
- How to recursively create md5 and sha1 sum of your files.
- How to compress/backup just ascii-text files with linux tar
- Fatal error: Call to undefined function block_list() in /includes/theme.inc on line 1586
- Javascript Frameworks and Ajax Jquery
- warning: Parameter 1 to admin_menu_admin_menu() expected to be a reference
- warning: Parameter 1 to comment_nodeapi() expected to be a reference
- [Howto Fix] Table './eximstats/sends' is marked as crashed and should be repaired
- How to change 'Welcome to the Frontpage', index-title of Joomla 1.5
- Search in text files recursively with PHP - Grep
- CMS for a nice-looking news website
- Redirect webpages with HTML, PHP, .htaccess, Java+Script, CGI-Perl, ASP.NET and ColdFusion
- Filezilla and plain-text clear, unsecure password storage

And got "Error exit delayed from previous errors". What does it mean? Should I try again or just one file could not be archived?
Post new comment