Сохранение копии сайта и базы | Wednesday, January 30, 2019 Author: utilmind Сохранить рекурсивно содержимое директории: tar -zcvf archive.tar.gz directory/ Переместить файл в открытый доступ для скачивания: mv filename.tar.gz dir1/dir2 Экспортнуть всю mySQL-базу: mysqldump dbname --triggers --routines --events --user=username --password=password > filename-db-date.sql tar -zcvf filename-db-date.tar.gz filename-db-date.sql Tags: backup, gz, gzip, mysql, tar, архив, база, бекап, сайт Tweet << Previous record | Next record >> Send by E-mail Print version Edit comment Changed text: Anonymous unregistered users can edit their messages during only 15 minutes after publication. Comments(0)Add comment… Reply to Your Name: (not necessarily) or Your E-mail: (to receive responses) You may sign in using: Your Comment Enter digits displayed on picture *: No comments yet… Be the first to leave comment on this topic!Add comment Reply to Your Name: (not necessarily) or Your E-mail: (to receive responses) You may sign in using: Your Comment Enter digits displayed on picture *: RSS-feed