Thanks a lot for the answer.
In the old stratum0 host (the one with the problem) I created the repo using the command:
cvmfs_server mkfs -s cvmfscv_s3.cfg -w https://rgw-cloud.pd.infn.it:443/cvmfswp6dc/ datacloud.infn.it
Now I copy the key of datacloud.infn.it in /etc/cvmfs but in new host when I try to import the repo I have theese problems:
First:
cvmfs_server import -r -w https://rgw-cloud.pd.infn.it:443/cvmfswp6dc/ datacloud.infn.it
Owner of datacloud.infn.it [root]:
/srv/cvmfs/datacloud.infn.it missing
So I created the directory and the problem above has been solved:
mkdir -p /srv/cvmfs/datacloud.infn.it
Second:
cvmfs_server import -r -w https://rgw-cloud.pd.infn.it:443/cvmfswp6dc/ datacloud.infn.it
Owner of datacloud.infn.it [root]:
/srv/cvmfs/datacloud.infn.it/.cvmfspublished missing
I get the files in s3 and the problem above has been solved:
/bin/s3cmd -c /root/s3cfg-cvmsfswp6.cfg get s3://cvmfswp6dc/datacloud.infn.it/.cvmfs* /srv/cvmfs/datacloud.infn.it/
Third:
cvmfs_server import -r -w https://rgw-cloud.pd.infn.it:443/cvmfswp6dc/ datacloud.infn.it
Owner of datacloud.infn.it [root]:
/srv/cvmfs/datacloud.infn.it/data missing
I created the directory and get all the files and directories form s3 and the:
mkdir -p /srv/cvmfs/datacloud.infn.it/data
and
/bin/s3cmd -c /root/s3cfg-cvmsfswp6.cfg get s3://cvmfswp6dc/datacloud.infn.it/data/* /srv/cvmfs/datacloud.infn.it/data/
Fourth:
cvmfs_server import -r -w https://rgw-cloud.pd.infn.it:443/cvmfswp6dc/ datacloud.infn.it
Owner of datacloud.infn.it [root]:
/srv/cvmfs/datacloud.infn.it/data/txn missing
I created the directory to solve the problem:
mkdir -p /srv/cvmfs/datacloud.infn.it/data/txn
Fifth:
cvmfs_server import -r -w https://rgw-cloud.pd.infn.it:443/cvmfswp6dc/ datacloud.infn.it
Owner of datacloud.infn.it [root]:
/srv/cvmfs/datacloud.infn.it/data/00 missing
If I crete the directory 00 then ask to crate 01, 02, …
So, I don’t know how to proceed. I don’t know how to recreate the repo on the new CVMFS stratum 0 server. This repo should have the files stored in that S3 bucket