After a job is created using the Loader WebUI or loader-tool, use loader-backup to back up data.
The Loader client has been installed and configured.
cd /opt/hadoopclient/Loader/loader-tools-1.99.3/loader-backup/conf
vi backup.properties
server.url = 10.0.0.1:21351,10.0.0.2:12000 authentication.type = kerberos authentication.user = authentication.password= job.jobId = 1 use.keytab = true client.principal = loader/hadoop client.keytab = /opt/client/conf/loader.keytab
cd /opt/hadoopclient/Loader/loader-tools-1.99.3/loader-backup
./run.sh Backup data input directory
For example, the backup data input directory is /user/hbase/, and the job output directory is/opt/client/sftp/sftp1. sftp1 acts as a placeholder. Run the following command to back up data to the /opt/client/sftp/hbase directory:
./run.sh /user/hbase/