作成
Linux でフォルダ丸ごとバックアップするコマンド
### memo フォルダを丸ごとバックアップするlinuxコマンドです。 ###list2 - バックアップ元 -- /var/www/html/hogehoge.com - バックアップ先 -- /temp/hogehoge.com.tar.bz2 ### command tar -cvjf /temp/hogehoge.com.tar.bz2 /var/www/html/hogehoge.com ###memo img フォルダだけは除外したいような場合は #*#--exclude #*#:img をつけます。 ### command tar -cvjf /temp/hogehoge.com.tar.bz2 /var/www/html/hogehoge.com --exclude img ###memo img、cache といった複数のフォルダーを除外したい場合は ### command tar -cvjf /temp/hogehoge.com.tar.bz2 /var/www/html/hogehoge.com --exclude img --exclude img
wakatta 記法
投稿の仕方
基本的な記法
エンジニア向け記法
記法のサンプル
このコンテンツを見る