DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 16th May 2023
stanl stanl is offline
Real Name: Stan
Package Pilot
 
Join Date: Jun 2019
Location: New York
Posts: 163
Default Help requested on rsnapshot

I would like to store backups on a removeable drive which I manually mount as:
mount /dev/sd1a /mnt

According to the config file /etc/rsnapshot:
# If no_create_root is enabled, rsnapshot will not automatically create the
# snapshot_root directory. This is particularly useful if you are backing
# up to removable media, such as a FireWire or USB drive.
#

My question quite simply is - How do I tell rsnapshot to store backups on that removeable usb drive?

Thanks as always for any assistance.

Stan
Reply With Quote
  #2   (View Single Post)  
Old 16th May 2023
TronDD TronDD is offline
Spam Deminer
 
Join Date: Sep 2014
Posts: 305
Default

Point snapshot_root at the directory you'll mount the drive to. I suggest you create a directory on the drive and point at that so it won't exist when not mounted and no_create_root will prevent backing up to the local disk.

So snapshot_root would be set to something like /mnt/backup/
Reply With Quote
  #3   (View Single Post)  
Old 17th May 2023
stanl stanl is offline
Real Name: Stan
Package Pilot
 
Join Date: Jun 2019
Location: New York
Posts: 163
Default

Thank you. That works. I appreciate your taking the time.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
rsnapshot daily not running stanl OpenBSD General 17 6th February 2020 02:27 PM
Clean Install assistance requested dk_netsvil FreeBSD Installation and Upgrading 10 18th July 2008 03:28 AM


All times are GMT. The time now is 10:35 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick