title: How to dump gitea repository remotely
body: <p>I would like to use the <code>dump</code> command from the gitea docs.</p>
  
  <p>See:
  <a href="https://docs.gitea.io/en-us/backup-and-restore/" rel="nofollow noreferrer">https://docs.gitea.io/en-us/backup-and-restore/</a></p>
  
  <p>The reason I ask is because I naively installed gitea on a raspberry pi with not much storage, and it is reaching the point where I need to upgrade the storage for the repository's sake.</p>
  
  <p>I would like to perform this command remotely and save the resulting zip file remotely because, naturally, the gitea database is so full that I don't think it would be able to dump locally before all remaining storage space is used.</p>
  
  <p>How can I perform this command remotely and save the resulting .zip file remotely?</p>
  
  <pre><code>./gitea dump -c /path/to/app.ini
  </code></pre>
  
  <p>EDIT: It just occurred to me that I could dump to a flash drive too. I am open to any option but I need a hand with figuring out how to modify the above command to dump in the right spot.</p>