pub struct S3Backup;Expand description
Backup listed /etc paths into the backup tree (s3).
Trait Implementations§
Source§impl Step for S3Backup
impl Step for S3Backup
Source§fn reference_script(&self) -> &'static str
fn reference_script(&self) -> &'static str
Legacy shell script this step absorbs (documentation / tip-sync).
Source§fn step_version(&self) -> u32
fn step_version(&self) -> u32
Implementation version; resume marks stale when this increases.
Source§fn is_done(&self, ctx: &HostContext) -> bool
fn is_done(&self, ctx: &HostContext) -> bool
Heuristic: already completed on this host layout.
Source§fn plan(&self, ctx: &mut HostContext) -> Result<Vec<PlannedAction>>
fn plan(&self, ctx: &mut HostContext) -> Result<Vec<PlannedAction>>
Record planned actions without mutating the host (also used in dry-run apply). Read more
Source§fn apply(&self, ctx: &mut HostContext) -> Result<()>
fn apply(&self, ctx: &mut HostContext) -> Result<()>
Execute or plan according to
HostContext::mode. Read moreSource§fn schema_version(&self) -> u32
fn schema_version(&self) -> u32
Schema of the step trait itself (rarely bumped).
Source§fn depends_on(&self) -> &'static [&'static str]
fn depends_on(&self) -> &'static [&'static str]
Step ids that must be
Done before this step may run.Source§fn needs_reboot_after(&self) -> bool
fn needs_reboot_after(&self) -> bool
Advise a reboot after a successful apply.
Source§fn destructive(&self) -> bool
fn destructive(&self) -> bool
True when apply can overwrite live host config.
Auto Trait Implementations§
impl Freeze for S3Backup
impl RefUnwindSafe for S3Backup
impl Send for S3Backup
impl Sync for S3Backup
impl Unpin for S3Backup
impl UnsafeUnpin for S3Backup
impl UnwindSafe for S3Backup
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more