Useful Commands
EnterpriseBacula Enterprise Only
This solution is only available for Bacula Enterprise. For subscription inquiries, please reach out to sales@baculasystems.com.
The plugin relies on the Hadoop filesystem shell for operational checks and manual validation.
List files inside a directory:
hdfs dfs -ls /user/hadoop/file1
Upload a file:
hdfs dfs -put /local-files/file1.txt /hdfs-path
Upload many files:
hdfs dfs -put /local-files /hdfs-path
Download many files:
hdfs dfs -get /hdfs-path /local-path
Snapshot commands:
hdfs dfs -createSnapshot /data snap1
hdfs dfs -deleteSnapshot /data snap1
hdfs dfs -renameSnapshot /data snap1 snap2
hdfs dfsadmin -allowSnapshot /data
For a complete set of commands and options, refer to the Hadoop documentation:
Hadoop FileSystem shell
Hadoop HDFS snapshot documentation
Go back to: Operations.