[重要なセキュリティのお知らせ] 偽の Qfinder Pro ウェブサイトが検出されました。もっと見る >

How to backup files from a Linux OS to NAS using Rsync?


最終更新日: 2021-09-15
Applicable products:
  • All NAS firmware

If the Linux OS has NFS server enabled, you can backup files from the Linux OS by mounting the NFS share to the NAS local folder, then run rsync command.

Sample steps:

  1. Connect to QNAP NAS via SSH
  1. run mkdir /mnt/nfsfolder to create a local mount point

  2. Mount Linux NFS share in the NAS using the mount point, in this example, path is 10.64.72.102:/share/CACHEDEV1_DATA/nfsshare102

    [/] # mount -t nfs -o rw -O user=admin,password=mypassword 10.64.72.102:/share/CACHEDEV1_DATA/nfsshare102 /mnt/nfsfolder
    [/] # df
    10.64.72.102:/share/CACHEDEV1_DATA/nfsshare102 297.8G 63.9G 234.0G 21% /mnt/nfsfolder
    [/] # ls -l /mnt/nfsfolder/
  3. Run the rsync command. If the destination in the NAS is Public shared folder, such as the path /share/CACHEDEV1_DATA/Public/ run the command:
    [/] # rsync -avz --progress /mnt/nfsfolder/* /share/CACHEDEV1_DATA/Public/


この記事は役に立ちましたか?

35% の人が、これは役に立つと思っています。
ご意見をいただき、ありがとうございます。

さらにサポートが必要な場合は、コミュニティで他のユーザーや QNAP の専門家にご質問ください。 QNAP コミュニティへ

この記事の改善箇所をお知らせください。

その他のフィードバックがある場合は、以下に入力してください。

仕様を選択

      もっと見る 閉じる
      当ページを他の国/地域で見る:
      気軽にお問い合わせ! 気軽にお問い合わせ!
      back to top