kusanagi migrate --export hogehoge
Target profile is hogehoge.
tar: hogehoge/DocumentRoot/hoge/wp-content: file changed as we read it
Execution failed: ionice -c 3 tar -czf /home/kusanagi/hogehoge-2024-08-19.tar.gz -C /home/kusanagi hogehoge
Return code was 1
Export to /home/kusanagi/hogehoge-2024-08-19.tar.gz failed.
kusanagi migrate: error: command returned 1
kusanagi migrate: error: migrate failed
とエラーが表示され、exportに失敗します。
手動でionice -c 3 tar -czf /home/kusanagi/hogehoge-2024-08-19.tar.gz -C /home/kusanagi hogehoge
を実行したところ特にエラーなく終了しました。
また、他のプロファイルでは正常にexportが完了されます。
サイトの合計ファイルサイズが10GB近いのでそれが原因…?
以下構成
KUSANAGI Version 9.5.4-1.el9
sakura
CentOS Stream 9
*** (inactive) nginx : nginx127 ***
* nginx127.service - The NGINX HTTP and reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx127.service; disabled; preset: disabled)
Active: inactive (dead)
*** (active) httpd : httpd24 ***
* httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; preset: disabled)
Active: active (running) since Mon 2024-08-19 03:18:27 JST; 33min ago
*** (active) php : php83 ***
* php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; preset: disabled)
Active: active (running) since Mon 2024-08-19 03:18:27 JST; 33min ago
*** (active) mariadb : mariadb10.11 ***
* mariadb.service - MariaDB 10.11.9 database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; preset: disabled)
Active: active (running) since Sat 2024-08-17 11:22:18 JST; 1 day 16h ago
*** (inactive) psql : ***
*** (inactive) pgpool-II : ***
*** python ***
Python 3.9.19
*** Cache status ***
*** WAF ***
off
*** SELinux ***
off (permanent)