さくらのVPSのディスク容量がサービスで増えますよ!
新プランがサービス開始とのこと
11月7日からさくらのVPSがリニューアルし新プランの提供が始まっていました。
従来のプランと比べて、初期費用が無料無料&全プランがSSD化・容量2倍ということでコストパフォーマンスが向上した感じでしょうか? HDDの大容量が必要という人は、ストレージ変更オプションでさらに倍にできて、それでも足りなければNFSサービスも使ってくれということでしょう。
私みたいにでかいデータを置かない使い方なら満足度はアップしそうですね。
いつか来る再インストールの日に備える
WordPress のバックアップは定期的に行っていましたが、システム全体のバックアップは考えてみたら取っていなかったので、何か良い方法がないかと探していたら、Mondo Rescue を発見。バックアップイメージをISO化できるので、リカバリもそこからできるとのこと。
さくらのVPS で増量したディスクについては、再インストールでパーティションを切り直すか、増えた容量を新しいディスクとして作成して適当な場所にマウントする形で利用する必要があるため、すっきりさせたくなったら再インストールの必要がありそう。
今すぐではないですが、リカバリ手順をまとめておくと将来役立ちそうなので試してみました。
環境は CentOS Linux release 7.7.1908 (Core) です。
Mondo Rescue のインストール
ほぼ作業記録です。
CentOS 7 でも yum からインストール出来るので、リポジトリを追加してそこからインストールすると必要なパッケージもまとめて落としてくれました。
[yuuichi@www ~]$ cd /etc/yum.repos.d/
[yuuichi@www yum.repos.d]$ sudo wget http://www.mondorescue.org/ftp/centos/7/x86_64/mondorescue.repo
--2019-11-09 19:56:48-- http://www.mondorescue.org/ftp/centos/7/x86_64/mondorescue.repo
Resolving www.mondorescue.org (www.mondorescue.org)... 185.170.48.239
Connecting to www.mondorescue.org (www.mondorescue.org)|185.170.48.239|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 288
Saving to: 'mondorescue.repo'
100%[===========================================================================================================>] 288 --.-K/s in 0s
2019-11-09 19:56:49 (33.6 MB/s) - 'mondorescue.repo' saved [288/288]
[yuuichi@www yum.repos.d]$ sudo yum install mondo lzop
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.cat.net
* epel: www.ftp.ne.jp
* extras: mirrors.cat.net
* remi-safe: ftp.riken.jp
* updates: mirrors.cat.net
mondorescue | 2.9 kB 00:00:00
mondorescue/primary_db | 70 kB 00:00:04
Resolving Dependencies
--> Running transaction check
---> Package lzop.x86_64 0:1.03-10.el7 will be installed
---> Package mondo.x86_64 0:3.2.2-1.centos7 will be installed
--> Processing Dependency: syslinux >= 1.52 for package: mondo-3.2.2-1.centos7.x86_64
--> Processing Dependency: mindi >= 2.0.7 for package: mondo-3.2.2-1.centos7.x86_64
--> Processing Dependency: cdrecord for package: mondo-3.2.2-1.centos7.x86_64
--> Processing Dependency: buffer for package: mondo-3.2.2-1.centos7.x86_64
--> Processing Dependency: afio for package: mondo-3.2.2-1.centos7.x86_64
--> Running transaction check
---> Package afio.x86_64 0:2.5-1.centos7 will be installed
---> Package buffer.x86_64 0:1.19-8.centos7 will be installed
---> Package mindi.x86_64 0:3.0.2-1.centos7 will be installed
--> Processing Dependency: mindi-busybox >= 1.21.1 for package: mindi-3.0.2-1.centos7.x86_64
--> Processing Dependency: perl-MondoRescue for package: mindi-3.0.2-1.centos7.x86_64
--> Processing Dependency: perl-Module-ScanDeps for package: mindi-3.0.2-1.centos7.x86_64
--> Processing Dependency: perl-IO-Interface for package: mindi-3.0.2-1.centos7.x86_64
--> Processing Dependency: perl(ProjectBuilder::Base) for package: mindi-3.0.2-1.centos7.x86_64
--> Processing Dependency: perl(MondoRescue::Version) for package: mindi-3.0.2-1.centos7.x86_64
--> Processing Dependency: perl(MondoRescue::File) for package: mindi-3.0.2-1.centos7.x86_64
--> Processing Dependency: perl(MondoRescue::Disk) for package: mindi-3.0.2-1.centos7.x86_64
--> Processing Dependency: perl(MondoRescue::Base) for package: mindi-3.0.2-1.centos7.x86_64
--> Processing Dependency: perl(Module::ScanDeps) for package: mindi-3.0.2-1.centos7.x86_64
--> Processing Dependency: mtools for package: mindi-3.0.2-1.centos7.x86_64
--> Processing Dependency: mkisofs for package: mindi-3.0.2-1.centos7.x86_64
---> Package syslinux.x86_64 0:4.05-15.el7 will be installed
---> Package wodim.x86_64 0:1.1.11-25.el7 will be installed
--> Processing Dependency: libusal = 1.1.11-25.el7 for package: wodim-1.1.11-25.el7.x86_64
--> Processing Dependency: libusal.so.0()(64bit) for package: wodim-1.1.11-25.el7.x86_64
--> Processing Dependency: librols.so.0()(64bit) for package: wodim-1.1.11-25.el7.x86_64
--> Running transaction check
---> Package genisoimage.x86_64 0:1.1.11-25.el7 will be installed
---> Package libusal.x86_64 0:1.1.11-25.el7 will be installed
---> Package mindi-busybox.x86_64 0:1.21.1-1.centos7 will be installed
---> Package mtools.x86_64 0:4.0.18-5.el7 will be installed
---> Package perl-IO-Interface.x86_64 0:1.05-2.el7 will be installed
---> Package perl-Module-ScanDeps.noarch 0:1.10-3.el7 will be installed
--> Processing Dependency: perl(Module::Build::ModuleInfo) for package: perl-Module-ScanDeps-1.10-3.el7.noarch
--> Processing Dependency: perl(ExtUtils::MakeMaker) for package: perl-Module-ScanDeps-1.10-3.el7.noarch
---> Package perl-MondoRescue.noarch 0:3.2.2-1.centos7 will be installed
--> Processing Dependency: perl(Net::IPv4Addr) for package: perl-MondoRescue-3.2.2-1.centos7.noarch
---> Package perl-ProjectBuilder.noarch 0:0.15.2-1.centos7 will be installed
--> Processing Dependency: perl-YAML for package: perl-ProjectBuilder-0.15.2-1.centos7.noarch
--> Running transaction check
---> Package perl-ExtUtils-MakeMaker.noarch 0:6.68-3.el7 will be installed
--> Processing Dependency: perl(ExtUtils::Packlist) for package: perl-ExtUtils-MakeMaker-6.68-3.el7.noarch
--> Processing Dependency: perl(ExtUtils::Manifest) for package: perl-ExtUtils-MakeMaker-6.68-3.el7.noarch
--> Processing Dependency: perl(ExtUtils::Installed) for package: perl-ExtUtils-MakeMaker-6.68-3.el7.noarch
--> Processing Dependency: perl(ExtUtils::Install) for package: perl-ExtUtils-MakeMaker-6.68-3.el7.noarch
---> Package perl-Module-Build.noarch 2:0.40.05-2.el7 will be installed
--> Processing Dependency: perl(Perl::OSType) >= 1 for package: 2:perl-Module-Build-0.40.05-2.el7.noarch
--> Processing Dependency: perl(Module::Metadata) >= 1.000002 for package: 2:perl-Module-Build-0.40.05-2.el7.noarch
--> Processing Dependency: perl(ExtUtils::ParseXS) >= 2.21 for package: 2:perl-Module-Build-0.40.05-2.el7.noarch
--> Processing Dependency: perl(ExtUtils::CBuilder) >= 0.27 for package: 2:perl-Module-Build-0.40.05-2.el7.noarch
--> Processing Dependency: perl(CPAN::Meta::YAML) >= 0.003 for package: 2:perl-Module-Build-0.40.05-2.el7.noarch
--> Processing Dependency: perl(CPAN::Meta) >= 2.110420 for package: 2:perl-Module-Build-0.40.05-2.el7.noarch
---> Package perl-Net-IPv4Addr.noarch 0:0.10-19.el7 will be installed
---> Package perl-YAML.noarch 0:0.84-5.el7 will be installed
--> Running transaction check
---> Package perl-CPAN-Meta.noarch 0:2.120921-5.el7 will be installed
--> Processing Dependency: perl(Parse::CPAN::Meta) >= 1.4403 for package: perl-CPAN-Meta-2.120921-5.el7.noarch
--> Processing Dependency: perl(Parse::CPAN::Meta) >= 1.4400 for package: perl-CPAN-Meta-2.120921-5.el7.noarch
--> Processing Dependency: perl(CPAN::Meta::Requirements) >= 2.121 for package: perl-CPAN-Meta-2.120921-5.el7.noarch
--> Processing Dependency: perl(CPAN::Meta::Requirements) for package: perl-CPAN-Meta-2.120921-5.el7.noarch
---> Package perl-CPAN-Meta-YAML.noarch 0:0.008-14.el7 will be installed
---> Package perl-ExtUtils-CBuilder.noarch 1:0.28.2.6-294.el7_6 will be installed
--> Processing Dependency: perl-devel for package: 1:perl-ExtUtils-CBuilder-0.28.2.6-294.el7_6.noarch
--> Processing Dependency: perl(IPC::Cmd) for package: 1:perl-ExtUtils-CBuilder-0.28.2.6-294.el7_6.noarch
---> Package perl-ExtUtils-Install.noarch 0:1.58-294.el7_6 will be installed
---> Package perl-ExtUtils-Manifest.noarch 0:1.61-244.el7 will be installed
---> Package perl-ExtUtils-ParseXS.noarch 1:3.18-3.el7 will be installed
---> Package perl-Module-Metadata.noarch 0:1.000018-2.el7 will be installed
---> Package perl-Perl-OSType.noarch 0:1.003-3.el7 will be installed
--> Running transaction check
---> Package perl-CPAN-Meta-Requirements.noarch 0:2.122-7.el7 will be installed
---> Package perl-IPC-Cmd.noarch 1:0.80-4.el7 will be installed
--> Processing Dependency: perl(Params::Check) >= 0.20 for package: 1:perl-IPC-Cmd-0.80-4.el7.noarch
--> Processing Dependency: perl(Module::Load::Conditional) for package: 1:perl-IPC-Cmd-0.80-4.el7.noarch
--> Processing Dependency: perl(Locale::Maketext::Simple) for package: 1:perl-IPC-Cmd-0.80-4.el7.noarch
---> Package perl-Parse-CPAN-Meta.noarch 1:1.4404-5.el7 will be installed
--> Processing Dependency: perl(JSON::PP) >= 2.27200 for package: 1:perl-Parse-CPAN-Meta-1.4404-5.el7.noarch
---> Package perl-devel.x86_64 4:5.16.3-294.el7_6 will be installed
--> Processing Dependency: systemtap-sdt-devel for package: 4:perl-devel-5.16.3-294.el7_6.x86_64
--> Processing Dependency: libdb-devel for package: 4:perl-devel-5.16.3-294.el7_6.x86_64
--> Processing Dependency: gdbm-devel for package: 4:perl-devel-5.16.3-294.el7_6.x86_64
--> Running transaction check
---> Package gdbm-devel.x86_64 0:1.10-8.el7 will be installed
---> Package libdb-devel.x86_64 0:5.3.21-25.el7 will be installed
---> Package perl-JSON-PP.noarch 0:2.27202-2.el7 will be installed
---> Package perl-Locale-Maketext-Simple.noarch 1:0.21-294.el7_6 will be installed
--> Processing Dependency: perl(Locale::Maketext) for package: 1:perl-Locale-Maketext-Simple-0.21-294.el7_6.noarch
---> Package perl-Module-Load-Conditional.noarch 0:0.54-3.el7 will be installed
--> Processing Dependency: perl(Module::Load) >= 0.11 for package: perl-Module-Load-Conditional-0.54-3.el7.noarch
--> Processing Dependency: perl(Module::CoreList) >= 2.22 for package: perl-Module-Load-Conditional-0.54-3.el7.noarch
---> Package perl-Params-Check.noarch 1:0.38-2.el7 will be installed
---> Package systemtap-sdt-devel.x86_64 0:4.0-10.el7_7 will be installed
--> Processing Dependency: pyparsing for package: systemtap-sdt-devel-4.0-10.el7_7.x86_64
--> Running transaction check
---> Package perl-Locale-Maketext.noarch 0:1.23-3.el7 will be installed
---> Package perl-Module-CoreList.noarch 1:2.76.02-294.el7_6 will be installed
---> Package perl-Module-Load.noarch 1:0.24-3.el7 will be installed
---> Package pyparsing.noarch 0:1.5.6-9.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=====================================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================================
Installing:
lzop x86_64 1.03-10.el7 base 54 k
mondo x86_64 3.2.2-1.centos7 mondorescue 903 k
Installing for dependencies:
afio x86_64 2.5-1.centos7 mondorescue 75 k
buffer x86_64 1.19-8.centos7 mondorescue 23 k
gdbm-devel x86_64 1.10-8.el7 base 47 k
genisoimage x86_64 1.1.11-25.el7 base 299 k
libdb-devel x86_64 5.3.21-25.el7 base 39 k
libusal x86_64 1.1.11-25.el7 base 136 k
mindi x86_64 3.0.2-1.centos7 mondorescue 329 k
mindi-busybox x86_64 1.21.1-1.centos7 mondorescue 277 k
mtools x86_64 4.0.18-5.el7 base 203 k
perl-CPAN-Meta noarch 2.120921-5.el7 base 113 k
perl-CPAN-Meta-Requirements noarch 2.122-7.el7 base 24 k
perl-CPAN-Meta-YAML noarch 0.008-14.el7 base 24 k
perl-ExtUtils-CBuilder noarch 1:0.28.2.6-294.el7_6 base 68 k
perl-ExtUtils-Install noarch 1.58-294.el7_6 base 75 k
perl-ExtUtils-MakeMaker noarch 6.68-3.el7 base 275 k
perl-ExtUtils-Manifest noarch 1.61-244.el7 base 31 k
perl-ExtUtils-ParseXS noarch 1:3.18-3.el7 base 77 k
perl-IO-Interface x86_64 1.05-2.el7 epel 27 k
perl-IPC-Cmd noarch 1:0.80-4.el7 base 34 k
perl-JSON-PP noarch 2.27202-2.el7 base 55 k
perl-Locale-Maketext noarch 1.23-3.el7 base 93 k
perl-Locale-Maketext-Simple noarch 1:0.21-294.el7_6 base 50 k
perl-Module-Build noarch 2:0.40.05-2.el7 base 281 k
perl-Module-CoreList noarch 1:2.76.02-294.el7_6 base 86 k
perl-Module-Load noarch 1:0.24-3.el7 base 11 k
perl-Module-Load-Conditional noarch 0.54-3.el7 base 18 k
perl-Module-Metadata noarch 1.000018-2.el7 base 26 k
perl-Module-ScanDeps noarch 1.10-3.el7 base 45 k
perl-MondoRescue noarch 3.2.2-1.centos7 mondorescue 82 k
perl-Net-IPv4Addr noarch 0.10-19.el7 epel 18 k
perl-Params-Check noarch 1:0.38-2.el7 base 18 k
perl-Parse-CPAN-Meta noarch 1:1.4404-5.el7 base 14 k
perl-Perl-OSType noarch 1.003-3.el7 base 20 k
perl-ProjectBuilder noarch 0.15.2-1.centos7 mondorescue 152 k
perl-YAML noarch 0.84-5.el7 base 84 k
perl-devel x86_64 4:5.16.3-294.el7_6 base 453 k
pyparsing noarch 1.5.6-9.el7 base 94 k
syslinux x86_64 4.05-15.el7 base 990 k
systemtap-sdt-devel x86_64 4.0-10.el7_7 updates 76 k
wodim x86_64 1.1.11-25.el7 base 320 k
Transaction Summary
=====================================================================================================================================================
Install 2 Packages (+40 Dependent packages)
Total download size: 6.0 M
Installed size: 15 M
Is this ok [y/d/N]: y
Downloading packages:
(1/42): gdbm-devel-1.10-8.el7.x86_64.rpm | 47 kB 00:00:00
(2/42): libdb-devel-5.3.21-25.el7.x86_64.rpm | 39 kB 00:00:00
(3/42): libusal-1.1.11-25.el7.x86_64.rpm | 136 kB 00:00:00
(4/42): genisoimage-1.1.11-25.el7.x86_64.rpm | 299 kB 00:00:00
(5/42): lzop-1.03-10.el7.x86_64.rpm | 54 kB 00:00:00
warning: /var/cache/yum/x86_64/7/mondorescue/packages/buffer-1.19-8.centos7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 37db9883: NOKEY-:-- ETA
Public key for buffer-1.19-8.centos7.x86_64.rpm is not installed
(6/42): buffer-1.19-8.centos7.x86_64.rpm | 23 kB 00:00:03
(7/42): afio-2.5-1.centos7.x86_64.rpm | 75 kB 00:00:04
(8/42): mindi-3.0.2-1.centos7.x86_64.rpm | 329 kB 00:00:02
(9/42): mtools-4.0.18-5.el7.x86_64.rpm | 203 kB 00:00:00
(10/42): perl-CPAN-Meta-Requirements-2.122-7.el7.noarch.rpm | 24 kB 00:00:00
(11/42): perl-CPAN-Meta-YAML-0.008-14.el7.noarch.rpm | 24 kB 00:00:00
(12/42): perl-ExtUtils-CBuilder-0.28.2.6-294.el7_6.noarch.rpm | 68 kB 00:00:00
(13/42): perl-ExtUtils-Install-1.58-294.el7_6.noarch.rpm | 75 kB 00:00:00
(14/42): perl-CPAN-Meta-2.120921-5.el7.noarch.rpm | 113 kB 00:00:00
(15/42): perl-ExtUtils-Manifest-1.61-244.el7.noarch.rpm | 31 kB 00:00:00
(16/42): perl-ExtUtils-MakeMaker-6.68-3.el7.noarch.rpm | 275 kB 00:00:00
(17/42): perl-ExtUtils-ParseXS-3.18-3.el7.noarch.rpm | 77 kB 00:00:00
(18/42): perl-IPC-Cmd-0.80-4.el7.noarch.rpm | 34 kB 00:00:00
(19/42): perl-JSON-PP-2.27202-2.el7.noarch.rpm | 55 kB 00:00:00
(20/42): perl-Locale-Maketext-1.23-3.el7.noarch.rpm | 93 kB 00:00:00
(21/42): perl-Locale-Maketext-Simple-0.21-294.el7_6.noarch.rpm | 50 kB 00:00:00
(22/42): perl-Module-CoreList-2.76.02-294.el7_6.noarch.rpm | 86 kB 00:00:00
(23/42): perl-Module-Build-0.40.05-2.el7.noarch.rpm | 281 kB 00:00:00
(24/42): perl-Module-Load-0.24-3.el7.noarch.rpm | 11 kB 00:00:00
(25/42): perl-Module-Load-Conditional-0.54-3.el7.noarch.rpm | 18 kB 00:00:00
(26/42): perl-Module-ScanDeps-1.10-3.el7.noarch.rpm | 45 kB 00:00:00
(27/42): perl-Module-Metadata-1.000018-2.el7.noarch.rpm | 26 kB 00:00:00
(28/42): mindi-busybox-1.21.1-1.centos7.x86_64.rpm | 277 kB 00:00:02
(29/42): perl-IO-Interface-1.05-2.el7.x86_64.rpm | 27 kB 00:00:00
(30/42): perl-Net-IPv4Addr-0.10-19.el7.noarch.rpm | 18 kB 00:00:00
(31/42): perl-Params-Check-0.38-2.el7.noarch.rpm | 18 kB 00:00:00
(32/42): perl-Parse-CPAN-Meta-1.4404-5.el7.noarch.rpm | 14 kB 00:00:00
(33/42): perl-Perl-OSType-1.003-3.el7.noarch.rpm | 20 kB 00:00:00
(34/42): perl-MondoRescue-3.2.2-1.centos7.noarch.rpm | 82 kB 00:00:01
(35/42): perl-YAML-0.84-5.el7.noarch.rpm | 84 kB 00:00:00
(36/42): pyparsing-1.5.6-9.el7.noarch.rpm | 94 kB 00:00:00
(37/42): perl-devel-5.16.3-294.el7_6.x86_64.rpm | 453 kB 00:00:00
(38/42): systemtap-sdt-devel-4.0-10.el7_7.x86_64.rpm | 76 kB 00:00:00
(39/42): syslinux-4.05-15.el7.x86_64.rpm | 990 kB 00:00:00
(40/42): wodim-1.1.11-25.el7.x86_64.rpm | 320 kB 00:00:00
(41/42): mondo-3.2.2-1.centos7.x86_64.rpm | 903 kB 00:00:02
(42/42): perl-ProjectBuilder-0.15.2-1.centos7.noarch.rpm | 152 kB 00:00:02
-----------------------------------------------------------------------------------------------------------------------------------------------------
Total 565 kB/s | 6.0 MB 00:00:10
warning: /var/cache/yum/x86_64/7/mondorescue/packages/mindi-3.0.2-1.centos7.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 20ebfb0e: NOKEY
Retrieving key from ftp://ftp.mondorescue.org//centos/7/x86_64/mondorescue.pubkey
Importing GPG key 0x20EBFB0E:
Userid : "Bruno Cornec (FLOSS & Early Music) <bruno@victoria.frmug.org>"
Fingerprint: a9ad d1be c556 4ff7 1d74 ea75 6ba8 c2d2 20eb fb0e
From : ftp://ftp.mondorescue.org//centos/7/x86_64/mondorescue.pubkey
Is this ok [y/N]: y
Retrieving key from ftp://ftp.mondorescue.org//centos/7/x86_64/mondorescue-0x141B9FF237DB9883.pubkey
Importing GPG key 0x37DB9883:
Userid : "Bruno Cornec <bruno@victoria.frmug.org>"
Fingerprint: 54aa 7ada 8c6b 0f5d 51c7 5dc0 141b 9ff2 37db 9883
From : ftp://ftp.mondorescue.org//centos/7/x86_64/mondorescue-0x141B9FF237DB9883.pubkey
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : perl-Module-Metadata-1.000018-2.el7.noarch 1/42
Installing : perl-IO-Interface-1.05-2.el7.x86_64 2/42
Installing : mtools-4.0.18-5.el7.x86_64 3/42
Installing : syslinux-4.05-15.el7.x86_64 4/42
Installing : perl-CPAN-Meta-YAML-0.008-14.el7.noarch 5/42
Installing : perl-ExtUtils-Manifest-1.61-244.el7.noarch 6/42
Installing : perl-Perl-OSType-1.003-3.el7.noarch 7/42
Installing : libusal-1.1.11-25.el7.x86_64 8/42
Installing : wodim-1.1.11-25.el7.x86_64 9/42
Installing : genisoimage-1.1.11-25.el7.x86_64 10/42
Installing : libdb-devel-5.3.21-25.el7.x86_64 11/42
Installing : 1:perl-Module-Load-0.24-3.el7.noarch 12/42
Installing : 1:perl-Module-CoreList-2.76.02-294.el7_6.noarch 13/42
Installing : mindi-busybox-1.21.1-1.centos7.x86_64 14/42
Installing : perl-JSON-PP-2.27202-2.el7.noarch 15/42
Installing : 1:perl-Parse-CPAN-Meta-1.4404-5.el7.noarch 16/42
Installing : perl-Net-IPv4Addr-0.10-19.el7.noarch 17/42
Installing : perl-YAML-0.84-5.el7.noarch 18/42
Installing : perl-ProjectBuilder-0.15.2-1.centos7.noarch 19/42
Installing : perl-MondoRescue-3.2.2-1.centos7.noarch 20/42
Installing : buffer-1.19-8.centos7.x86_64 21/42
Installing : gdbm-devel-1.10-8.el7.x86_64 22/42
Installing : afio-2.5-1.centos7.x86_64 23/42
Installing : perl-Locale-Maketext-1.23-3.el7.noarch 24/42
Installing : 1:perl-Locale-Maketext-Simple-0.21-294.el7_6.noarch 25/42
Installing : 1:perl-Params-Check-0.38-2.el7.noarch 26/42
Installing : perl-Module-Load-Conditional-0.54-3.el7.noarch 27/42
Installing : pyparsing-1.5.6-9.el7.noarch 28/42
Installing : systemtap-sdt-devel-4.0-10.el7_7.x86_64 29/42
Installing : 1:perl-ExtUtils-ParseXS-3.18-3.el7.noarch 30/42
Installing : perl-ExtUtils-Install-1.58-294.el7_6.noarch 31/42
Installing : perl-ExtUtils-MakeMaker-6.68-3.el7.noarch 32/42
Installing : 4:perl-devel-5.16.3-294.el7_6.x86_64 33/42
Installing : 1:perl-IPC-Cmd-0.80-4.el7.noarch 34/42
Installing : 1:perl-ExtUtils-CBuilder-0.28.2.6-294.el7_6.noarch 35/42
Installing : perl-CPAN-Meta-Requirements-2.122-7.el7.noarch 36/42
Installing : perl-CPAN-Meta-2.120921-5.el7.noarch 37/42
Installing : 2:perl-Module-Build-0.40.05-2.el7.noarch 38/42
Installing : perl-Module-ScanDeps-1.10-3.el7.noarch 39/42
Installing : mindi-3.0.2-1.centos7.x86_64 40/42
Installing : mondo-3.2.2-1.centos7.x86_64 41/42
Installing : lzop-1.03-10.el7.x86_64 42/42
Verifying : libusal-1.1.11-25.el7.x86_64 1/42
Verifying : perl-Perl-OSType-1.003-3.el7.noarch 2/42
Verifying : 1:perl-ExtUtils-CBuilder-0.28.2.6-294.el7_6.noarch 3/42
Verifying : mindi-3.0.2-1.centos7.x86_64 4/42
Verifying : perl-CPAN-Meta-Requirements-2.122-7.el7.noarch 5/42
Verifying : perl-ExtUtils-Manifest-1.61-244.el7.noarch 6/42
Verifying : pyparsing-1.5.6-9.el7.noarch 7/42
Verifying : perl-Module-ScanDeps-1.10-3.el7.noarch 8/42
Verifying : perl-Locale-Maketext-1.23-3.el7.noarch 9/42
Verifying : 2:perl-Module-Build-0.40.05-2.el7.noarch 10/42
Verifying : afio-2.5-1.centos7.x86_64 11/42
Verifying : perl-CPAN-Meta-YAML-0.008-14.el7.noarch 12/42
Verifying : perl-ExtUtils-MakeMaker-6.68-3.el7.noarch 13/42
Verifying : lzop-1.03-10.el7.x86_64 14/42
Verifying : mondo-3.2.2-1.centos7.x86_64 15/42
Verifying : gdbm-devel-1.10-8.el7.x86_64 16/42
Verifying : 1:perl-Params-Check-0.38-2.el7.noarch 17/42
Verifying : perl-Module-Load-Conditional-0.54-3.el7.noarch 18/42
Verifying : 1:perl-Parse-CPAN-Meta-1.4404-5.el7.noarch 19/42
Verifying : mtools-4.0.18-5.el7.x86_64 20/42
Verifying : wodim-1.1.11-25.el7.x86_64 21/42
Verifying : systemtap-sdt-devel-4.0-10.el7_7.x86_64 22/42
Verifying : perl-IO-Interface-1.05-2.el7.x86_64 23/42
Verifying : 1:perl-ExtUtils-ParseXS-3.18-3.el7.noarch 24/42
Verifying : buffer-1.19-8.centos7.x86_64 25/42
Verifying : perl-YAML-0.84-5.el7.noarch 26/42
Verifying : perl-ExtUtils-Install-1.58-294.el7_6.noarch 27/42
Verifying : perl-MondoRescue-3.2.2-1.centos7.noarch 28/42
Verifying : syslinux-4.05-15.el7.x86_64 29/42
Verifying : perl-Net-IPv4Addr-0.10-19.el7.noarch 30/42
Verifying : perl-JSON-PP-2.27202-2.el7.noarch 31/42
Verifying : 1:perl-IPC-Cmd-0.80-4.el7.noarch 32/42
Verifying : mindi-busybox-1.21.1-1.centos7.x86_64 33/42
Verifying : 1:perl-Module-CoreList-2.76.02-294.el7_6.noarch 34/42
Verifying : perl-CPAN-Meta-2.120921-5.el7.noarch 35/42
Verifying : 1:perl-Locale-Maketext-Simple-0.21-294.el7_6.noarch 36/42
Verifying : 1:perl-Module-Load-0.24-3.el7.noarch 37/42
Verifying : libdb-devel-5.3.21-25.el7.x86_64 38/42
Verifying : perl-ProjectBuilder-0.15.2-1.centos7.noarch 39/42
Verifying : 4:perl-devel-5.16.3-294.el7_6.x86_64 40/42
Verifying : genisoimage-1.1.11-25.el7.x86_64 41/42
Verifying : perl-Module-Metadata-1.000018-2.el7.noarch 42/42
Installed:
lzop.x86_64 0:1.03-10.el7 mondo.x86_64 0:3.2.2-1.centos7
Dependency Installed:
afio.x86_64 0:2.5-1.centos7 buffer.x86_64 0:1.19-8.centos7
gdbm-devel.x86_64 0:1.10-8.el7 genisoimage.x86_64 0:1.1.11-25.el7
libdb-devel.x86_64 0:5.3.21-25.el7 libusal.x86_64 0:1.1.11-25.el7
mindi.x86_64 0:3.0.2-1.centos7 mindi-busybox.x86_64 0:1.21.1-1.centos7
mtools.x86_64 0:4.0.18-5.el7 perl-CPAN-Meta.noarch 0:2.120921-5.el7
perl-CPAN-Meta-Requirements.noarch 0:2.122-7.el7 perl-CPAN-Meta-YAML.noarch 0:0.008-14.el7
perl-ExtUtils-CBuilder.noarch 1:0.28.2.6-294.el7_6 perl-ExtUtils-Install.noarch 0:1.58-294.el7_6
perl-ExtUtils-MakeMaker.noarch 0:6.68-3.el7 perl-ExtUtils-Manifest.noarch 0:1.61-244.el7
perl-ExtUtils-ParseXS.noarch 1:3.18-3.el7 perl-IO-Interface.x86_64 0:1.05-2.el7
perl-IPC-Cmd.noarch 1:0.80-4.el7 perl-JSON-PP.noarch 0:2.27202-2.el7
perl-Locale-Maketext.noarch 0:1.23-3.el7 perl-Locale-Maketext-Simple.noarch 1:0.21-294.el7_6
perl-Module-Build.noarch 2:0.40.05-2.el7 perl-Module-CoreList.noarch 1:2.76.02-294.el7_6
perl-Module-Load.noarch 1:0.24-3.el7 perl-Module-Load-Conditional.noarch 0:0.54-3.el7
perl-Module-Metadata.noarch 0:1.000018-2.el7 perl-Module-ScanDeps.noarch 0:1.10-3.el7
perl-MondoRescue.noarch 0:3.2.2-1.centos7 perl-Net-IPv4Addr.noarch 0:0.10-19.el7
perl-Params-Check.noarch 1:0.38-2.el7 perl-Parse-CPAN-Meta.noarch 1:1.4404-5.el7
perl-Perl-OSType.noarch 0:1.003-3.el7 perl-ProjectBuilder.noarch 0:0.15.2-1.centos7
perl-YAML.noarch 0:0.84-5.el7 perl-devel.x86_64 4:5.16.3-294.el7_6
pyparsing.noarch 0:1.5.6-9.el7 syslinux.x86_64 0:4.05-15.el7
systemtap-sdt-devel.x86_64 0:4.0-10.el7_7 wodim.x86_64 0:1.1.11-25.el7
Complete!
いざバックアップ
バックアップしたファイルはISO化して同じサーバ上に出力します。
私の場合は、/mnt/data/backup
というディレクトリを作成しました。パスの通り、dataディレクトリはスケールアップ時に追加されたディスクをマウントした状態となります。
[yuuichi@www ~]$ cd /mnt/data/backup/
[yuuichi@www backup]$ sudo mondoarchive -Oi -L -N -s 4480m -d /mnt/data/backup -E /mnt/data/backup -p sakura-`hostname`-`date +%Y-%m-%d`
エラーが発生
Fatal error… Failed to generate boot+data disk という表示がされ、バックアップファイルの作成に失敗します。
調べてみると/etc/mindi/mindi.conf
を内のパラメータを編集してやる必要があるようです。私の環境では以下のようにしました。
EXTRA_SPACE=640000
BOOT_SIZE=100000
果たして、無事に成功しファイルが出力されました。
[yuuichi@www backup]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
devtmpfs 1012764 0 1012764 0% /dev
tmpfs 1023372 0 1023372 0% /dev/shm
tmpfs 1023372 107124 916248 11% /run
tmpfs 1023372 0 1023372 0% /sys/fs/cgroup
/dev/vda4 16251584 7308252 8943332 45% /
/dev/vda5 31444268 3394232 28050036 11% /mnt/data
/dev/vda2 508580 236320 272260 47% /boot
tmpfs 204676 0 204676 0% /run/user/1000
[yuuichi@www backup]$ ls -l
total 3361240
-rw-r--r-- 1 root root 3441909760 Nov 9 20:27 sakura-www.u-1.net-2019-11-09-1.iso
7GB程度のシステムが、約3.5GBでまとまりました。
今後はダウンロードして仮想環境でリカバリの実験もしてみたいと思います。
……しかしこれ、100GB使いきれる日は来ないな😅
コメント