Search results

  1. E

    [SOLVED] zfs Snapshot on one of my vms always results in snapshot size 0

    Hang on - forget my question and thanks for your question. While looking to provide the asked information I only now became aware that I have an obsolete vm-xyz-0 dataset in my encrypted pool and as all other vms reside there I got used to only look in this pool. But as stated in the opening...
  2. E

    Replication not possible on encrypted data pool?

    Hi, I still don't understand exactly how to use the -w switch. Probably it has to be done in console, and it's possibly not something that can be put somewhere in a file or something in order to continue to use the webinterface of ProxMox to a) configure replication of vm's to both nodes and...
  3. E

    Replication not possible on encrypted data pool?

    We have the following setup. The unencrypted root/boot pool rpool is on a separate disk. What we want is to have the datapool which is setup on two separate mirrored disks, will be encrypted. So the workflow when rebooting a node will be to unencrypt the datapool by load-key anyway. What and...
  4. E

    [SOLVED] zfs Snapshot on one of my vms always results in snapshot size 0

    I have an OPNsense VM which is residing on a small, unencrypted mirror root/boot pool, which was created by the ProxMox installer. The two disks on this proxmox box have a small partition each -> rpool boot pool. The second, big partitions, containing the rest of the disk are part of a...
  5. E

    Replication not possible on encrypted data pool?

    In comment 13 of the mentioned bug report there I read Can someone explain me what that means, and if this could be an intermediate solution until the pull request will be done? Could somebody please describe this solution? I also would apreciate any comment on wether this is a good solution...
  6. E

    [solved] Help needed on a script for automating zfs snapshots to removable media

    Thank you very much Dunuin, I modified the script as you suggested and it works fine! I really appreciate your help very much!! :) Now one last thing. We plan to alternate two removable medias daily, thus the destroying of snapshots the way it is implemented to just keep the number of KEEPOLD...
  7. E

    [solved] Help needed on a script for automating zfs snapshots to removable media

    So for local snapshotting to a usb stick the script works as intended - including importing an encrypted zpool thanks to your tip, Dunuin. Now I have another requirenement. I have to make the script working on a remote host meaning. The script has to run on a server1 where the removable media...
  8. E

    [solved] Destroy zfs snapshots

    Perfect. Did not find that info in man myself, thats why I want to warmly thank you for providing me this very useful information.
  9. E

    [solved] Destroy zfs snapshots

    I have a question on zfs and thought as many use zfs here and some may have good knowledge on zfs maybe someone has an easy answer for me. I know that there is the -r switch for destroying snapshots including its children, meaning the following snapshots. What I’d like to know, if there is an...
  10. E

    [solved] Help needed on a script for automating zfs snapshots to removable media

    Hi Dunuin, thanks for your post. Being not skilled in scripting - could you give me an expample on how this would work with piping or linking me where I could read and learn about ?
  11. E

    [solved] Help needed on a script for automating zfs snapshots to removable media

    We would like to create an encrypted pool with password -> prompt and then automate the zfs load-key step (no prompting for password but getting it from a file or hardcoded in a bash script). Is this possible? I tried creating a file and with the password in it. and then zfs load-key...
  12. E

    [solved] Help needed on a script for automating zfs snapshots to removable media

    Could I kindly ask for some hint to push me to the right direction on above request? :)
  13. E

    [solved] Help needed on a script for automating zfs snapshots to removable media

    I found a nice script that mostly does what we want. But I have to automate the snapshoting on a proxmox server further thus I 'd like to adapt the following script to our needs. First thing is we need to do the backups on an encrypted pool, so adding a line with: zfs load-key $BACKUPPOOL is...
  14. E

    [solved] Prune & GC settings lost on local sync via pbs / remotes

    Thanks for your comment that explains all. If stored in the datastore.cfg I'll have to check and recreate it. I did not think about that and possibly I had created the copy of the cfg before having defined prune and gc settings. Thanks and sorry for the dump question then. ;)
  15. E

    [solved]Re-add datastore to pbs

    The last question was answered here
  16. E

    [solved] Prune & GC settings lost on local sync via pbs / remotes

    After removing an external, removable usb disk and plugging it later when a new sync is due, I come from realizing that the prune and gc settings are lost. Why is that and how can I avoid this? As you planed to implement some kind of procedure to disable/enable a (removable) datastore I hope...
  17. E

    [solved] connection error: Transport endpoint is not connected (os error 107)

    Just to clarify - you mean as the following message which appears just after the last error message indicates the the sync finished successfully, then I can ignore it, right?: 2020-12-19T22:15:02+01:00: Starting datastore sync job 'local:pbs-backup:sandisk:s-f0eb4571-25bf'...
  18. E

    [solved] connection error: Transport endpoint is not connected (os error 107)

    Hm, well the client and the server is on the same machine, as I configured a remote -> localhost as workaround to be able to sync the datastore content to an offline medium. So am I supposed to just ignore those kind of messages, or can I do something to make them disapear?