How to change Storage Directory from /home to a different parition or volume

Asked by RonCam

I am trying (not sure if I'm succeeding) to set the target destination for Restore Points to an external USB drive. But according to what I see (or, don't see) in the file manager (Dolphin for my distro) -- I'm not sure if the relocation is working. In other words, after creating Restore Points, I don't see anything being added to the target volume or directory.

I am also confused about the nomenclature I'm seeing in the window where one browses to, and selects, alternative Storage Directories. Help!!

For example, I decided to locate Systemback's Restore Point files in /dev/sdf6 in a directory off of this volume's root, named Systemback.

The browsing window for relocating the Storage directory displays this, for /dev/sdf6:
green circle >o sdf6
green circle >o dev
down arrow snd
Indented by-path
red X Systemback
red X Systemback

Shouldn't I be looking for /dev/sdf6, as my target? Why is the directory I'd like to use not only have a red 'X' on it (unavailable, unusable?) but also appear twice -- there's only one by that name on my disk.

What should appear in my Storage directory field to have my Restore Points going into /dev/sdf6/Systemback? At one point after selecting several setting that included sdf6, this one appeared in the 'Storage directory' field:

/sdf6/dev/snd/by-path

The directory I had hoped to select appears in red, presumably unavailable -- not sure why.

? ! ? ! ? What is this, and what does it mean? If this is the target for Restore Points, where is it? I've never come across this type of terminology before, to describe locations in GNU/Linux filesystems. A bit of explanation will be most appreciated!

But, after all the 'smoke clears' -- Restore points _are_ appearing the the Systemback main window. But, where are they, on the disk? Again, a few words of explanation as to the correct procedure for selecting alternate Storage directories, please?
______________________________________________
System: Linux Mint Quiana KDE
Systemback v_1.1.1.200_10.23.2014_Qt5.2.1_i386

Question information

Language:
English Edit question
Status:
Solved
For:
Systemback Edit question
Assignee:
No assignee Edit question
Solved by:
Kendek
Solved:
Last query:
Last reply:
Revision history for this message
Kendek (nemh) said :
#1

The storage directory is the directory that contain the Systemback subdirectory (this created dynamically). The existing storage directory (contain a restore point) indicated by a green dot. Systemback named directory isn't a storage directory, you must select the parent.

Revision history for this message
RonCam (rac2) said :
#2

Thanks for the reply. I'm still trying to view the 'restore point files' in my file manager. Do I interpret your answer correctly, as follows?

From the question, edited to replace 'circle' with correct terminology, 'dot':
     green dot >o sdf6
     green dot >o dev

Both of the above entries have a 'green dot'. So, you're saying, the 'existing storage directory' would be where ... directly off the root directory of /dev/sdf6? By, 'existing storage directory' are you referring to the one I created and named 'Systemback'?

I am confused because the utility, Systemback, didn't seem to give me the opportunity to select that directory. Or, if the user creates a directory by that name, does it automatically become a storage sirectory for Systemback?

But it is empty ... are the files hidden?

Could you please do your best to unconfuse me ... giving the full name and path of the directory where I should be looking would be a good start.

While waiting, I'm installing SpaceFM, in the event that Dolphin isn't allowing me to view the utility's storage directory, wherever that may be.

Revision history for this message
Kendek (nemh) said :
#3

What the real storage directory path? The /dev directory or devices cannot be set.
By default, the storage directory is '/home'. This means that the '/home' directory is contain the 'Systemback' subdirectory. 'Systemback' contains '.sbschedule' file and created restore points subdirectories (S01_..., S02_..., S03... etc.).
'Systemback' and '.sbschedule' items are created automatically at first starting time. The restore points are created manually or by the scheduler.
If you change the storage directory path, the 'Systemback' subdirectory and '.sbschedule' file are created automatically. If you want to select an existing storage directory, choose the 'Systemback' parent directory with green dot (big dot before directory name).
So the storage directory isn't contains directly the restore points, but contain the 'Systemback'.

Revision history for this message
RonCam (rac2) said :
#4

Thanks for your patience. Perhaps if I explain why I'm confused, you could easily point me in the right direction to understand what to see and expect, with Systemback:

I had first experimented with TimeShift and BackInTime, specifying for each target partitions of /dev/sdf6 and /dev/sdf5, respectively. After they would run, I could confirm all was OK by opening the partition named 'time-shift' (here it had created seven directories given names beginning with 'snapshots') and then by opening the one named back-in-time (where there had been created a nested series of directories, the last one containing the contents of my $home directory. All this could be viewed in the file manager, and I could see what was happening.

Now, having moved to Systemback:

I was trying to 'point' Systemback' to one of the same directories, as its 'target' -- but -- unless I don't know what I'm looking for, or at -- see nothing being added after the utility runs!

Are you saying in your answer I should not expect to see anything changing here, but instead in /home -- even thought I had changed the default to sdf6?

But, I am now looking at /home, and there is no 'Systemback' directory, even with hidden-file display turned on. Yet, Systemback is displaying Restore Points. From where are these coming, or how could I find out?

I like your program's approach better than either of the two programs I started with, even if I don't yet understand what it's doing. But I think with perserverance, I believe it will be worth it!

You said, the 'Systemback' subdirectory, '.sbschedule' file and restore points subdirectories (S01_..., S02_..., S03... etc.) were created, and so they must be somewhere. What can I tell you about my setup that will let you point me in the right direction??

Revision history for this message
RonCam (rac2) said :
#5

I do not see a directory named 'Systemback':

file:///home/ron/.adobe
file:///home/ron/.cache
file:///home/ron/.config
file:///home/ron/.dbus
file:///home/ron/.gconf
file:///home/ron/.gimp-2.8
file:///home/ron/.gnome2
file:///home/ron/.gnome2_private
file:///home/ron/.gnupg
file:///home/ron/.grsync
file:///home/ron/.gstreamer-0.10
file:///home/ron/.java
file:///home/ron/.kde
file:///home/ron/.lastpass
file:///home/ron/.linuxmint
file:///home/ron/.local
file:///home/ron/.macromedia
file:///home/ron/.mozilla
file:///home/ron/.sane
file:///home/ron/.synaptic
file:///home/ron/.thumbnails
file:///home/ron/.wine
file:///home/ron/Documents 1
file:///home/ron/.bash_history
file:///home/ron/.bash_logout
file:///home/ron/.bashrc
file:///home/ron/.directory
file:///home/ron/.dmrc
file:///home/ron/.face.icon
file:///home/ron/.gksu.lock
file:///home/ron/.gtkrc-2.0
file:///home/ron/.profile
file:///home/ron/.so_sane_state
file:///home/ron/.Xauthority
file:///home/ron/.xsession-errors
file:///home/ron/Backing Up
... and ...
file:///home/.Trash-0
file:///home/downloads
file:///home/lost+found
file:///home/ron
file:///home/ron.original
file:///home/cp_ar.txt

Revision history for this message
RonCam (rac2) said :
#6

I changed the Storage Directory back to what it was originally, /home.

Now, this appeared in the file manager:
     file:///home/Systemback
     file:///home/Systemback/.sbschedule

And, as soon as I changed the Storage Directory to the default setting, the Restore Points disappeared from the Systemback main window. So, the Restore Points I saw before must be somewhere.

However, directly off the root directory of the previous selection, /dev/sdf6, I see nothing added by the utility:
file:///media/ron/back-in-time/backintime
file:///media/ron/back-in-time/lost+found
file:///media/ron/back-in-time/SystemBack

The last directory was created by me, and it's empty. This is the directory I was trying to select, without success, by browsing inside Systemback. It was in black, not in green, so there was no option to select it.

Question: In spite of offering the user a choice of Storage Directory locations, is /home the only one that 'works'? Wouldn't it be better -- or not? -- if the user could restore Restore Points somewhere else, on a removable external drive (that's what this is) instead on the same drive where the operating system is installed?

Thinking this would be the case, it's why I tried to change the default location? Good idea or bad idea?

Revision history for this message
Kendek (nemh) said :
#7

In this case you should select the '/media/ron/back-in-time' directory. At first time, the 'Systemback' dir is created automatically. If any restore point is exist in there, just select again this '/media/ron/back-in-time', and you will see in program.
The restore points are created in '/media/ron/back-in-time/Systemback' directory (S01_...). These can be seen by using a file manager.
To change the storage directory is completely normal thing, supported and even recommended.

Revision history for this message
RonCam (rac2) said :
#8

To avoid confusion, I have renamed the back-in-time directory as Systemback -- as that's what I now intend to use it for. I believe it has to be mounted to be selected as the Storage Directory? To that end I am displaying it in Systemback's System Copy/Partition Settings window.

The following partition is on an external USB drive:
Partition ........... Size ......... Label ................. Current mount point ... ... New mount point .......Filesystem
/dev/sdf6 .. 201.54 GiB ... Systemback .. /media/ron/Systemback ... ... ... ... ... ... ... ... ... ... ... ... ext4

The Mount/Unmount button displays 'Unmount' so I assume this means the above partition is mounted.

Returning to the previous Systemback window and clicking on '...' to browse for the desired storage directory.

You said,
"In this case you should select the '/media/ron/back-in-time' directory."

After renaming it, it is now the '/media/ron/Systemback' directory."

To make it the Storage Directory I shall browse to it, in the 'Storage directory' window, and accept it with a click of 'OK'.

I can see it, but it's displaying with a 'Red X' in front of it. You said it should 'select it' but to do so, don't we have to first get rid of the 'Red X'?? If I place the blue Selection Bar over it, the 'OK' selection button is grayed-out and non-functional.

Please advise.

Revision history for this message
Best Kendek (nemh) said :
#9

Do not use 'Systemback' mount point or storage directory name. The name of the storage directory must be different than 'Systemback'. 'Systemback' name is reserved, and non-selectable.

Revision history for this message
RonCam (rac2) said :
#10

Perfect! The storage directory now reads, /media/ron/SystemRestore. After reading your answer, I changed the partition's label to an descriptive, but non-conflicting name.

It it's OK, I'll also change the first post's Subject slightly, so other users are more likely to find the key to solving the problem.

Revision history for this message
RonCam (rac2) said :
#11

Thanks Kendek, that solved my question.