Yes, SELinux contexts and ACLs. Check man:rsync(1) for options to use, `-a`
>
> On Thursday, February 27, 2025 at 8:41:30 AM UTC-6 Beto wrote:
> > Hi Craig,
> >
> > That's pretty much the process I was thinking of using. I haven't tried it yet as other priorities have taken over. I'll post results once I get to try it.
> >
> > Thanks for replying!
> >
> > On Tuesday, February 25, 2025 at 7:57:13 AM UTC-6 craig.c...@northern.tech wrote:
> > > Hello!
> > >
> > > Sorry this one hasn't had any responses. Did you figure something out?
> > >
> > > This /var/cfengine path is hard-coded into CFEngine at compile time. It is referred to as WORKDIR:
> > >
> > >
https://docs.cfengine.com/docs/3.24/reference-special-variables-sys.html#sys-workdir
> > >
> > > If you need to migrate to new storage I might suggest this untested procedure:
> > >
> > > - shut CFEngine down with something like `systemctl stop cfengine3`
> > > - double-checking that all CFEngine related processes are not running with something like `ps -efl | grep cf`
> > > - moving the current directory aside: `mv /var/cfengine /var/old-cfengine`
> > > - mounting your new storage as `/var/cfengine`
> > > - using rsync to copy everything over: `rsync -avz /var/old-cfengine/ /var/cfengine/`
> > > - restart services with `systemctl start cfengine3`
> > >
> > > I haven't had occasion to perform such a migration so take this as a suggested course to be considered carefully as you plan.
> > >
> > > Let us know how it goes or if you have more questions.
> > >
> > > -Craig
> > > On Friday, February 7, 2025 at 8:25:35 AM UTC-6 Beto wrote:
> > > > I need to move an Enterprise hub to new storage on the same server. I'm thinking of using rsync for this:
> > > >
> > > > rsync -avz /var/cfengine /var/new_cfengine
> > > >
> > > > Of course everything would first be shut down.
> > > >
> > > > Has anyone tried this? I have a low pain tolerance lol.
> You received this message because you are subscribed to the Google Groups "help-cfengine" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to